使用图表API在Facebook页面相册上张贴照片 [英] Posting photos on a facebook page album using graph api

查看:134
本文介绍了使用图表API在Facebook页面相册上张贴照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我做的:
1)从/ me / account
获取页面访问令牌2)粘贴在图形资源管理器工具上。
3)使用名为message,url(尝试通过url上传)的参数发送一条帖子请求到 http:// graph.facebook.com/ {} ALBUMID /照片。
4)图表返回一个ID。

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)点击照片ID,它返回有关该照片的信息。
6)点击链接参数值,它在浏览器上打开一个新的选项卡,表示内容可用,或者我没有权限。
7)然后我什么时候到我的个人资料,并开始使用Facebook作为该页面。
8)重新加载该链接在新选项卡中打开。
9)现在显示我的图像。 (它的权限设置为使命公众)。
10)再次到专辑,发现没有添加图像。
11)但是在流上我可以看到照片。

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.

推荐答案

想出问题。我们需要通过转到专辑作为页面来批准照片。

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

这篇关于使用图表API在Facebook页面相册上张贴照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆