Posting photos on a facebook page album using graph api

有些话、适合烂在心里 提交于 2019-12-13 05:17:49

问题


Here's what I've done: 1) Get page access token from /me/account 2) Paste in on the graph explorer tool. 3) Make a post request with parameters named message, url (trying to upload via url) to http://graph.facebook.com/{albumid}/photos. 4) Graph returned a Id.

Went to that photo album of that page, no photo added. Now, for further investigation what I did.

5) Clicked on the photo Id and it returned info about that photo. 6) Click on the link parameter value, it opened a new tab on the browser saying the content is on available or I don't have permission. 7) Then I when to my Profile and started to use Facebook as that page. 8) Reloaded that link opened in the new tab. 9) It's showing me the image now. (And it's permission is set to mission public). 10) Went to the album again, found that no images were added. 11) But on the stream I can see the photo.

Now here's my issue is I want the photo to be added on that specific Album, and it should be visible to all.


回答1:


Figured out the problem. We need to approve the photos from by going to the album as the Page.



来源:https://stackoverflow.com/questions/17006283/posting-photos-on-a-facebook-page-album-using-graph-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!