Does Facebook allow that user A using mobile app posts something (text, image or URL) on user B’s wall?
I have been searching for this for a couple of days, but I cannot find anything about it in Facebook API docs.
To make it clear, I do not need to post something on my own wall, but on my friend’s wall using Facebook API.
Am I right saying that this is not possible/allowed at this moment?
Use this piece of code to post on another user’s wall.
You can also upload a photo with the above code, like this:
And then use this to check the result.
If successfully posted,
String responsein the onComplete() will give you an ID for the post.NOTE 1: The above code uses the older Facebook SDK (Pre v 3.x) so you will have to adapt the code to work with the new SDK if you are using it. It will need a few minor changes.
NOTE 2: Facebook has planned to stop the ability to let applications post to other users walls. Source: https://developers.facebook.com/blog/post/2012/10/10/platform-updates–operation-developer-love/. Going forward, you will need to use the feed dialog option.