Can I upload photos but not post to wall in Facebook?
Can I upload photos using Facebook API but not post to wall in Facebook?
What I use is 开发者_运维知识库the photos.upload in the API.
If it cannot be avoided, is there any way to delete that wall post so that I don't have to do it manually?
Documentation of graph API (http://developers.facebook.com/docs/reference/api/photo/) mentions the following:
If you would like to suppress the story that is automatically generated in the user's feed when you publish a photo (usually because you plan on generating your own), you can add a no_story=1 parameter. In this case, the user will receive a notification that your application has uploaded a photo.
Adding the same parameter to the legacy REST API seems to work for me
Let me answer my own question:
It's about the permission problem. We can set the permission so that the photos do not publish to wall.
精彩评论