Posts under category facebook-graph-api

I wrote a comment to a post on a FB page. Is it possible to get its reactions (type and user name) with Graph API Explorer? I assigned likes permission to the user token. Now the GET looks:

https://graph.facebook.com/v19.0/<comment id>/likes 

also tried:

https://graph.facebook.com/v19.0/<comment id>?fields=likes 

Both returns with:

{   "error": {     "message": "(#200) Missing Permissions",     "type": "OAuthException",     "code": 200,     "fbtrace_id": "<id>"   } } 

I tried to subscribed apps with webhook fields messages by using graph api page subscribed_pages edge from this link. I got the success response after POST request. And I also got the subscribed app information by using GET request as follow.

I cannot see the webhook fields messages in App Dashboard->Messenger API setting -> webhook fields text box. And my application didn't get notification message from page.

I have to subscribe messages manually from App dashboard. After that, my application got the notification message from page.

I would like to subscribe webhook fields by using graph API. But the problem is graph API subscribed_pages edge is not reflected the webhook fields in App. I am stuck in this issue. May I know any idea or possible way to use graph API for subscribed webhook fields?

I am looking to get the Billing Payment Transactions for each Ad Account under my Business Manager.

"https://graph.facebook.com/v19.0/act_{AD_ACCOUNT_ID}/transactions" Does not seem to be an active endpoint anymore.

Any recommendations?

"https://graph.facebook.com/v19.0/act_{AD_ACCOUNT_ID}/transactions" No longer active Endpoint. I don't see any available endpoint in the documentations, but I hope I am just missing something.

I have been trying to build an app (react for front end with typescript) that requires social media integration from various platforms, one of which is Facebook. So, I tried to follow the Meta docs and tried to implement the Facebook Login through their SDK code. The login alone was not very difficult to code, however when I refresh the page or switch to a different page and then return back to the one with the Facebook Login button, I am automatically logged out, and need to log back in every time.

I have looked through so many resources and forums trying to understand how to properly implement the Facebook login where a user can safely log in and would stay logged in throughout page refreshes until they directly click on a logout button. I feel like the Meta docs are pretty good, but the code and instructions they provide are in "pieces", if that makes sense. So, are there any full-length, detailed tutorials or guides available that I can follow along to implement this feature?