Axesso - FB Data Service

부분 유료
분류별 Axesso | 업데이트됨 il y a 13 jours | Data
인기

9.7 / 10

지연 시간

8,561ms

서비스 수준

99%

Health Check

100%

모든 토론으로 돌아가기

Url to the original Facebook post

Rapid account: Kicorangel
kicorangel
il y a 8 mois
Hi,

I am using the Post endpoint to retrieve some posts from a given Facebook page. It works properly, but I cannot find the way to (re)construct the url to the original Facebook post (to copy/paste it into the browser, for instance).

When using Facebook, the posts ids are like:
pfbid0226SSkhCgVfMB3sJEoEBoaqnqTe8NvSJJwTTren8BHvYzZbdTtD1HzQNtV1BaBdgil

With the previous, you just construct the url as:

https://www.facebook.com/[user]/posts/[post_id]

However, the id provided by the API is in a different shape (e.g., UzpfSTEwMDAzMTAzOTA3NzMxNjo5NTkzMzU5OTg0NDQzNjA6OTU5MzM1OTk4NDQ0MzYw) and it does not work when constructing the previous url.

Could you help me/give me advice on the previous?

Thanks,
Kico

Rapid account: Kicorangel
kicorangel Commented il y a 8 mois

Thank you, you are right. I could not see it at first sight because it was a bit hidden, but now it works.

Rapid account: Axesso
axesso Commented il y a 8 mois

Hello,

thank you for the request. As far as we understood you question, we don’t think that you require to reconstruct the URL because you can extract it out of the response. For your example the corresponding post URL should be: https://www.facebook.com/InformaDB/posts/pfbid0KonCGQtm6cD6KdP5DJcZj7RDCbo6F1LrDRuQFGfTeRruGdbG9Ngh4dwNrRxdj7GBl

If you search for this URL in the response json, you will see several fields which contains this URL. You can e.g. use on the other side this URL as input to our “post-detail” endpoint to fetch regular update on the post like reaction and comments count.

Let us know in case you have further questions.

Best Regards
Axesso Support

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입