Posts tagged with facebook-access-token

We have a Facebook App created with a dummy User to manage Ads and Audience to which it has access to. Unfortunately it's complicated at the moment to create it under a proper company's User, because we manage many Pages and Clients and there is a lot of burocracy.

In any case, the Access Token associated to this Facebook App works fine and has its live span set to 90 days: the trouble is that after 30 days of the dummy User's inactivity on Facebook, the user get dissociated from the Facebook App. This results in our automated refreshToken call to fail. We have to manually login and re-connect the User to the Application. In fact, the APIs calls we do for our business purpose aren't enough / aren't considered as User's actions: this sound both fair and unintuitive.

Is there a knowkn way or an API call (even as simple as "list your own feed") to keep the User's session active?

Thank you in advance for any tips.

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?

I'm using WhatsApp Cloud API Integration for our company use case and all functionality will be server-to-server API call and I have to generate a Permanent token to call the WhatsApp API to send the message. I have submitted a request to get advance access to whatsapp_business_messaging but it got rejected as we do not have any frontend UI to showcase the implementation. Facebook support team said I do not need advance access if we are implementing WhatsApp API for our own use case. We have also generated the permanent key by creating a system user from the Facebook Business dashboard but the API throws an error that this key does not have permission.

Please guide me on how can a get approval or get a permanent access token to use the WhatsApp Cloud API Integration.

Thank you in advance