Posting to friend's wall using Facebook API (Python) -



Posting to friend's wall using Facebook API (Python) -

i trying post friend's wall on behalf, using next code:

import facebook graph = facebook.graphapi(token) graph.put_object("/1000000000007/feed", "feed",{'message':'test'}") # `1000000000007` right user id

the code above doesn't work - i've tried different syntaxes seems cannot right.

i have no problem posting on own wall, have publish_stream permission.

it not possible (anymore) post wall of friend, no serious app anyway.

also, publish_stream deprecated, should utilize publish_actions if want post on wall of authorized user.

python facebook facebook-graph-api

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -