phpfacebookiframeoauthfacebook-iframe

Facebook PHP API Iframe applicaition


How can I get Authorization request answer inside Facebook Iframe application?
Authorization script written in PHP.
This is the authorization application request URL.

https://www.facebook.com/dialog/oauth?client_id=APPLICATIONID&redirect_uri=https://apps.facebook.com/example/?site=fb&response_type=code&scope=email,user_hometown

Solution

  • BY Using Facebook Api of php.Use this method

     $facebook->api('/me?fields=email,first_name,last_name,picture.type(large)');