This has been asked several times, but after reading many different posts I still have not a basic version running for posting to a wall.
I want to post to a wall of a FB user with python. The PHP SDK (https://github.com/facebook/facebook-php-sdk) uses this as the first example. I need the equivalent code in python.
require 'facebook-php-sdk/src/facebook.php';
$facebook = new Facebook(array(
'appId' => 'YOUR_APP_ID',
'secret' => 'YOUR_APP_SECRET',
));
// Get User ID
$user = $facebook->getUser();
The pythonsdk (https://github.com/pythonforfacebook/facebook-sdk) says the basic usage is:
graph = facebook.GraphAPI(oauth_access_token)
Without explaining what that the oauth_access_token is.
According to here: Python - Facebook API - Need a working example one has to generate an access token?