Facebook graph API: feeds missing in json response

后端 未结 3 1036
一生所求
一生所求 2020-12-08 08:36

I try to fetch user\'s feeds via graph api from my Android application. It generally works but some feeds that I can see on the wall are missing in the json response.

<
相关标签:
3条回答
  • 2020-12-08 09:18

    I had a similar problem. But for me, the problem was related to not setting the scope properly on first login (to authorize the app). I posted a similar question and got an answer that worked for me here:

    Facebook API how to get all wall items

    0 讨论(0)
  • 2020-12-08 09:29

    I've been through this, the way Facebook is categorizing their permissions is somehow misleading, for example Publicly available may sounds like Available to everyone on Facebook but apperantly it's not.

    Now in your case, if you already authenticated the user, then try using:

    /me/feed
    

    I guess this is the only case where access_token is not needed in the URL.

    0 讨论(0)
  • 2020-12-08 09:36

    Your approach is correct, I've seen the JSON and yes it's missing the second one, I think it's upload app form adroid, try checking the application settings for this app. Or If your trying to retrieve the wall FQL is a much better way

    SELECT post_id, actor_id, target_id, message FROM stream WHERE source_id in (SELECT target_id FROM connection WHERE source_id=<uid> AND is_following=1) AND is_hidden = 0 
    
    0 讨论(0)
提交回复
热议问题