新订阅按钮v添加好友:图形API或FQL调用...? [英] New Subscribe Button v Add Friend: Graph API or FQL Call...?

查看:170
本文介绍了新订阅按钮v添加好友:图形API或FQL调用...?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Facebook在最近几天添加了一个类似Twitter的订阅按钮,允许人们看到您的公开更新,因为他们是您的朋友。

Facebook added a twitter-like "Subscribe" button in the last several days that allows people to see your public updates w/o them being your friend.


  1. 如果用户成为订阅者而不是朋友...我认为他们不在朋友表中。如果是,那么他们在哪个表格中?

  1. If a user becomes a subscriber and NOT a friend...I assume they are NOT in the friends table. If so, what table are they in?

对于订阅者来说,什么是适当的Graph API调用?

What is the proper Graph API call for subscribers?


推荐答案

要获取用户订阅者的列表,请使用此图表API:

To get a list of a user's subscribers use this graph api call:

https://graph.facebook.com/adamfairbanks/subscribers

(将adamfairbanks替换为用户的user_id或用户名,对于您自己也可以使用我。)

(Replace "adamfairbanks" with the user's user_id or username. For yourself you can also use "me".)

需要访问令牌。要使用访问令牌进行呼叫,可以使用Graph API Explorer:

This call requires an access token. To make the call with an access token, you can use the Graph API Explorer:

https://developers.facebook.com/tools/explorer/?method=GET&path=adamfairbanks%2Fsubscribers

如果您以前从未使用过Graph API Explorer,则可能需要

If you've never used the Graph API Explorer before, you may need to


  1. 点击[获取访问令牌]

  2. 在权限对话框上单击[获取访问令牌](无需检查权限)

  3. 单击[登录] Graph API资源管理器

  4. 点击[提交],使用访问令牌重新提交图形API调用

  1. click [Get Access Token]
  2. click [Get Access Token] on the permissions dialog (no permissions need to be checked)
  3. click [Login] to the Graph API Explorer
  4. click [Submit] to resubmit the graph API call now with the access token

将adamfairbanks更改为已启用订阅者的任何Facebook用户名或user_id

Change adamfairbanks to any facebook username or user_id that has enabled subscribers

这篇关于新订阅按钮v添加好友:图形API或FQL调用...?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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