Facebook Graph API + Facebook Pages [英] Facebook Graph API + Facebook Pages

查看:195
本文介绍了Facebook Graph API + Facebook Pages的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Facebook的Graph API,给定一个用户名xyz(假设他们已经验证了我的网站),如何获取用户管理的所有Facebook页面的列表?

Using Facebook's Graph API, given a username xyz (assuming they've authenticated my site), how do I get a list of all of the facebook pages that the user administers?

推荐答案

用户对象中的帐户 / p>

The accounts property on the user object says:


当前用户拥有的Facebook页面。如果已经授予了manage_pages权限,该连接还会生成access_tokens,可以用于代表页面查询Graph API。

The Facebook pages owned by the current user. If the manage_pages permission has been granted, this connection also yields access_tokens that can be used to query the Graph API on behalf of the page.

http://developers.facebook.com/docs/reference/api/user

这篇关于Facebook Graph API + Facebook Pages的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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