【问题标题】:Why Graph API Explorer doesn't return the wall 'feed' based on a user's id为什么 Graph API Explorer 不返回基于用户 ID 的墙“提要”
【发布时间】:2016-01-18 15:06:04
【问题描述】:

当我从 facebook 站点测试 Graph API Explorer 并编写以下参数时:

https://graph.facebook.com/'userid'/feed?access_token='我的访问令牌'

返回

{“数据”:[]}

我尝试了几个组 id,都返回相同的结果。

范围低于

user_birthday, user_religion_politics, user_relationships, user_relationship_details, user_hometown, user_location, user_likes, user_education_history, user_work_history, user_website, user_managed_groups, user_events, user_photos, user_videos, user_friends, user_about_me, user_status, user_games_activity, user_tagged_places, user_posts, , ads_read, read_insights, manage_pages, publish_pages, pages_show_list, pages_manage_cta, pages_manage_leads, publish_actions, read_audience_network_insights, read_custom_friendlists, user_actions.video, user_actions.books, user_actions.music, user_actions.news, user_actions.fitness, public_profile

当我从 facebook graph api explorer 尝试它时,我发现它没有返回任何结果。请非常感谢您的帮助

【问题讨论】:

    标签: facebook-graph-api


    【解决方案1】:

    您能告诉我您是通过相同的令牌访问其他人的 id 还是使用不同的令牌??

    因为如果您使用的是图形浏览器,那么它只会为您的 ID 提供令牌。您可以使用

    查看页面的所有提要
    me/feed?fields=id,posts,from or 
    your_id/feed?fields=id,posts,from
    

    使用提交按钮时使用 GET 请求。

    【讨论】:

    • 如果我使用我的应用程序,我可以获取其他人的提要 "others_id/feed?fields=id,posts"
    • 是的,如果您正在使用您的应用并且您的应用已获得批准,那么您可以在获得用户的访问令牌后获得提要。
    • 随时欢迎,如果你喜欢也可以点击+1!! :)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多