Created
April 24, 2014 23:17
-
-
Save aaronpk/11272807 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$facebook = new Facebook(array( | |
'appId' => $facebookClientID, | |
'secret' => $facebookClientSecret | |
)); | |
$facebook->setAccessToken($fbToken); | |
$facebook->setExtendedAccessToken(); | |
$response = $facebook->api('/me/feed', 'POST', array( | |
'message' => $_POST['text'], | |
'actions' => array( | |
'name' => 'See Original', | |
'link' => 'http://example.com/xxxxx' | |
) | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment