Axesso - FB Data Service

FREEMIUM
By Axesso | Updated 3 days ago | Data
Popularity

9.7 / 10

Latency

8,334ms

Service Level

99%

Health Check

100%

Back to All Discussions

Endpoint posts not working properly

Rapid account: Client Link
ClientLink
2 years ago

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

Rapid account: Axesso
axesso Commented 2 years ago

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

Rapid account: Client Link
ClientLink Commented 2 years ago

Any update? Parsing only 1 post isn’t an option.

Rapid account: Client Link
ClientLink Commented 2 years ago

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.

Rapid account: Axesso
axesso Commented 2 years ago

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

Join in the discussion - add comment below:

Login / Signup to post new comments