Category Archives: Facebook

Get Long-Lived (Long Term) Access Token

Official Example Code:

https://developers.facebook.com/docs/php/howto/example_facebook_login

 

Facebook Login issue (PHP SDK)

Reason:

After enabling strict mode and force HTTPS redirect URI, login process is not working for weird reasons. Here are some steps required:

Error: cross domain issue

  1. composer update
  2. Change default version to v2.10
  3. Add this script after creating a helper: (Very important!!)

Reference: