How to get posts that user's friend posted on the wall of user on his birthday through Facebook Graph Api?

后端 未结 1 1201
萌比男神i
萌比男神i 2021-01-27 06:00

I am trying to build a Chrome extension and I want to get all the posts that people posted on the user\'s wall specifically on his birthday.

I tried to call through Face

1条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-27 06:41

    As you found out, the /me/feed endpoint is what you need to use - with the user_posts permission, of course. Facebook puts birthday posts together as it seems, but there is no other way to get the posts. Meaning, there is no way to get the birthday posts separately.

    Endpoints for the user wall: https://developers.facebook.com/docs/graph-api/reference/v2.5/user/feed

    0 讨论(0)
提交回复
热议问题