Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require_once('facebook.php');
- $facebook = new Facebook(
- array( 'appId' => 'YOUR_APP_ID'
- , 'secret' => 'YOUR_APP_SECRET'));
- ... // authenticate user with access token here
- $facebook->api('/me/feed', 'POST',
- array ( 'message' => 'YOUR_MESSAGE'
- , 'name' => 'YOUR_APP_NAME'
- , 'caption' => 'YOUR_CAPTION'
- , 'link' => 'YOUR_LINK'
- , 'picture' => '90x90_ICON_IMAGE'));
Add Comment
Please, Sign In to add comment