I’m integrating my web-based game to a Facebook Game . Facebook login, getting user id, getting user profile picture is OK . But i need to post somethings to wall (For example, John Doe earned 50 point!) .
I have offline_access and publish_Stream permissions for my Facebook App.
Now i want to publish some links automatically. I’m using Facebook PHP SDK with Yii.
I can get Facebook User ID etc… But i don’t know how can i post somethings to user’s wall, automatically (for example when user is offline).
I’m looking Graph API Post document‘s Publishing title. But i need access_token parameter for use this. And i’m not sure where is this access_token .
PHP-SDK 3.1.1
To generate app and user tokens. $app_access_token & $access_token
*The user access_token if you have offline access will never expire, unless user deAuthorizes your app. You would need to use for posting to a users wall when they are offline or not interacting with your application.*