Page 1 of 1
Facebook, Twitter, Instagram + Co
Posted: Thu Aug 17, 2017 8:28 pm
by Iris Gesser
Dear Community,
is there an easy way to make Posts to Facebook, Twitter, Instagram + Co from a fiwewin-application?
Thank you for your answers.
Kind regards
Iris
Re: Facebook, Twitter, Instagram + Co
Posted: Sat Aug 19, 2017 4:03 am
by dutch
+1
Re: Facebook, Twitter, Instagram + Co
Posted: Sat Aug 19, 2017 7:49 pm
by Silvio.Falconi
+++1
Re: Facebook, Twitter, Instagram + Co
Posted: Sun Aug 20, 2017 4:14 pm
by James Bott
I don't know how to do it, but here is a link to the Facebook developer's site which has all the info you need to starting working on a Fivewin app.
https://developers.facebook.com/docs/pages
James
Re: Facebook, Twitter, Instagram + Co
Posted: Mon Aug 21, 2017 3:52 pm
by Silvio.Falconi
James,
I allready Know this link
I am a developer on Facebook I have a site of Ecards from many years ago :
https://apps.facebook.com/1350663568296457/
Re: Facebook, Twitter, Instagram + Co
Posted: Mon Aug 21, 2017 5:04 pm
by Silvio.Falconi
with PHP
Code: Select all
<?php
// require Facebook PHP SDK
// see: https://developers.facebook.com/docs/php/gettingstarted/
require_once("/YOUR_PATH_TO/facebook_php_sdk/facebook.php");
// initialize Facebook class using your own Facebook App credentials
// see: https://developers.facebook.com/docs/php/gettingstarted/#install
$config = array();
$config['appId'] = 'YOUR_APP_ID';
$config['secret'] = 'YOUR_APP_SECRET';
$config['fileUpload'] = false; // optional
$fb = new Facebook($config);
// define your POST parameters (replace with your own values)
$params = array(
"access_token" => "YOUR_ACCESS_TOKEN", // see: https://developers.facebook.com/docs/facebook-login/access-tokens/
"message" => "Here is a blog post about auto posting on Facebook using PHP #php #facebook",
"link" => "http://www.fivetechsoft.com",
"picture" => "http://forums.fivetechsupport.com/styles/prosilver/imageset/site_logo.gif",
"name" => "How to Auto Post on Facebook with PHP",
"caption" => "www.fivetechsoft.com",
"description" => "Automatically post on Facebook with PHP using Facebook PHP SDK. How to create a Facebook app. Obtain and extend Facebook access tokens. Cron automation."
);
// post to Facebook
// see: https://developers.facebook.com/docs/reference/php/facebook-api/
try {
$ret = $fb->api('/YOUR_FACEBOOK_ID/feed', 'POST', $params);
echo 'Successfully posted to Facebook';
} catch(Exception $e) {
echo $e->getMessage();
}
?>
Get Facebook PHP SDK
https://developers.facebook.com/docs/reference/php/
from Github at You may use any library available (in PHP section) of
https://github.com/facebook/facebook-php-sdk