Axesso - FB Data Service

FREEMIUM
От Axesso | Обновлено 14 giorni fa | Data
Популярность

9.7 / 10

Задержка

8,595ms

Уровень обслуживания

99%

Health Check

100%

Назад ко всем обсуждениям

Endpoint posts not working properly

Rapid account: Client Link
ClientLink
2 anni fa

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 anni fa

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 anni fa

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

Rapid account: Client Link
ClientLink Commented 2 anni fa

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 anni fa

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

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии