使用Graph API阅读Facebook页面的墙壁 - 可能吗? [英] Read Wall of a Facebook Page by using the Graph API - possible?

查看:89
本文介绍了使用Graph API阅读Facebook页面的墙壁 - 可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道我们可以通过检索一个令牌来查看用户墙,而且没有任何问题。



但是,我有这个案例在手中,请求是显示给定用户的脸书页面的WALL。有没有人知道是否可以使用Graph API?



解决方案>

现在,对于FACEBOOK PAGE,它只是与朋友墙相同的graphAPI调用,只需将User id替换为页面ID,如以下url



https://graph.facebook.com/40796308305/feed ?access_token = 2227470867 | 2.oYiXeutFctg5rAweCFSIPw __。3600.129027 .....................



这么简单。



谢谢
D


I know we can see the USER WALL by retrieving a token and all... no problem.

However, I have this case in hands, that the request is to display the WALL of a facebook PAGE of a given user.

Does anyone knows if this can be done by using the Graph API?

解决方案

Now for FACEBOOK PAGE, it is just the same graphAPI call as for friends wall...just replace the User id to page id, as in the following url

https://graph.facebook.com/40796308305/feed?access_token=2227470867|2.oYiXeutFctg5rAweCFSIPw__.3600.129027.....................

Thats it as simple as that.

Thank you D

这篇关于使用Graph API阅读Facebook页面的墙壁 - 可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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