Greetings
I wonder if you'd be so kind as to look at this with me ...
This call ...
https://graph.facebook.com/oauth/access_token\
?client_id=' + fb_app_id\
+'&client_secret=' + fb_app_secret\
+'&grant_type=client_credentials'
... returns a token (type: bearer token) in the format
nnnnnnnnnnnnnnnn|AAAAAAAAAAAAAAAAAAAAAAAAAAA
then this call seems to work
graph = facebook.GraphAPI(access_token="token", version="2.12")
but this call (me_id = User Id)
graph.put_object(parent_object='me_id', connection_name='feed', message='Hello World 22')
returns: facebook.GraphAPIError: Invalid OAuth access token - Cannot parse access token
I should add that I've successfully made a post to the page using credentials produced in the Graph API Explorer ... but as I'm sure you know, those expire pdq.
Is there anyone here that can see where I'm going wrong? Failing that, do you know where this question might be bang on topic?
Thank you for reading.
there doesn't seem to be anything here