function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Salesforce@322Salesforce@322 

Facebook and Salesforce Integration

How to do integration with Facebook i tried with getting o auth to get the app id , security token but security token will get expired for every 60 days. Now i want to know there is any way to get security token automatically without resetting it manually or is there any other way to do integration with Facebook to post on the Facebook walls
AshlekhAshlekh
Hi,

We can integrate with facebook by oauth 2.0 as we know and the security token will exipire after 60 days. So end user has to authenticate again but if you want that it should authenticate without manually so you have to write a schedule a batch class whcih will pick the reocords of where are stroing the token of user and the hit the api again to get token again based on refresh token.

I think you understand my point.