I am trying to post to friend's wall on my behalf, using the following code:
import facebook
graph = facebook.GraphAPI(TOKEN)
graph.put_object("/1000000000007/feed", "feed",{'message':'TEST'}") # Where `1000000000007` is a correct user id
The code above doesn't work - I've tried different syntaxes but it seems that I cannot get it right.
I have no problem posting on my own wall, I also have publish_stream
permission.