Several days ago, the API can get all the posts. However, today it can only get 1 post. I don’t why. I want to buy the API, but it doesn’t work for me. You can https://www.facebook.com/longhornsteakhouse/posts/ or https://www.facebook.com/GreenDay/posts/ to verify it.
Присоединяйтесь к обсуждению – добавьте комментарий ниже:
Hi samsoft12-6vMpUZqB2_y ,
yes you need to use the value of the field “nextUrl” from the previous response and add it to the query parameter of “url”. Than you will receive the next posts. This can be repeated until you have all posts you need from the page.
Best Regards
Axesso Support
Hi,
I need to get the last 10 posts of a facebook page and their post data. Is this possible with your API?
I understood the behaviour of Facebook just now. It seems strange for me, becuase I don’t use Facebook.
I did it according to your instruction. Thank you!
Your example url is like this pattern. https://www.facebook.com/longhornsteakhouse/posts/
However, we encounter the following 2 cases. They don’t work. In fact, they are the same thing.
Alan Jackson
https://www.facebook.com/niu.xiang.98/
Mogami sama
https://www.facebook.com/profile.php?id=100087570199746
Love Jack
https://www.facebook.com/profile.php?id=100087557572719
BTW, you can see Twitter here. https://rapidapi.com/omarmhaimdat/api/twitter154/
It provides 2 kinds of APIs, User’s Tweets and User’s Tweets Continuation.
The first one: This endpoint return a list of user’s tweets given a username with limit parameter, 40 for default.
The second one: This endpoint return the next list of user’s tweets given a username. This is your style.
Hi acewang100,
the first request return always one post, to get all posts you need to request it page by page.
The first request returns in the response the field “nextUrl”. The value of this field needs to be passed to the next request as query param “url”. All subsequent requests after the first request should return 3 posts in the response.
This behaviour is in place since the launch of our API and we never changed something here.
Let us know in case of further questions.
Best Regards
Axesso Support