
Facebook api PHP SDK?
I’ve recently started learning the Facebook PHP SDK and was wondering if someone could tell me the calls I need to make for certain things,
for example getting the users feed is done via /userid/feed, but how do you get the entire feed (including posts from friends) rather than just that specific users feed?
Also when posting to facebook (like the following code) what other properties are there for me to use?
$Facebook->api(‘/’.$uid.’/feed’, ‘post’, array(
‘message’ => ‘Testing’,
‘name’ => ‘The tester’,
‘description’ => ‘The description’,
‘caption’ => ‘The captionz
’,
‘picture’ => ‘http://www.seoconsultants.com/twitter/images/twitter-default-avatar.png’,
‘link’ => ‘http://www.curiouslyodd.com/’
));
To get the posts that appear in your news feed you use /user/home, not /user/feed. Feed is for what is posted on YOUR feed, not the news feed.
The arguments for publishing are: message, picture, link, name, caption, description and source.
Facebook API Get Album permissions fix