I am trying to extract posts for different users and only get 1 post per user (tried 5 different ones). I am testing it here in rapidapi, so no programming error from my side. Furthermore, I don’t get any counts (comments, likes)…
Just upgraded my subscription to extract data 😦
Can you please check this?
Try these (neither give more than 1 post)
https://www.facebook.com/DBPersonenverkehr
https://www.facebook.com/veganz
Join in the discussion - add comment below:
Hi,
we see in the console that you were already able to fetch the next posts. Just for completeness reason and to close this thread:
Yes, it is the “nextUrl” field from the first first response which you need to pass as “url” to the next API request. In you example it is “https://www.facebook.com/api/graphql/?cursor=AQHRyouSETGl7z7J6GxsEnMRrVRc-NxyKo75KzpnCssYKWZ1yhBS3Vv0YlcBdOrYKQkPBVZTsbO3LLmNxmvrZNudaInpzFHgA17nCRyXOaL3q-xOwb2QhaZHH2OkvSlJNtnz&pageId=152033178165965” which you need to pass to the second API call.
Best Regards
Axesso Support
Any update? Parsing only 1 post isn’t an option.
Hi,
thanks but
(a) which doc?
(b) I tried the nextURL but get no results at all.
This is the initial response (1 post) and the nextURL.
“responseStatus”:“PRODUCT_FOUND_RESPONSE”,
“responseMessage”:“Product successfully found!”,
“nextUrl”:“https://www.facebook.com/api/graphql/?cursor=AQHRyouSETGl7z7J6GxsEnMRrVRc-NxyKo75KzpnCssYKWZ1yhBS3Vv0YlcBdOrYKQkPBVZTsbO3LLmNxmvrZNudaInpzFHgA17nCRyXOaL3q-xOwb2QhaZHH2OkvSlJNtnz&pageId=152033178165965”,
“countPosts”:1,
“pageId”:“152033178165965”,
“newLayout”:true,
“cursor”:“AQHRyouSETGl7z7J6GxsEnMRrVRc-NxyKo75KzpnCssYKWZ1yhBS3Vv0YlcBdOrYKQkPBVZTsbO3LLmNxmvrZNudaInpzFHgA17nCRyXOaL3q-xOwb2QhaZHH2OkvSlJNtnz”,
“posts”
Please advise.
Hi,
in the doc it is mentioned how to use the API. The first request always returns only one post. In the response you can find also a field nextUrl which needs to be passed to the next request to receive further posts.
Furthermore, if you would like to receive comments you need to call the “comments” endpoint which will return you all comments and corresponding information. The comments endpoint requires the “feedbackId” which can obtained from the posts endpoint.
Let us know if this works for you
Best Regards
Axesso Support