actionscript 3 - PHP facebook Login redirect not working in AIR browser -


php facebook login code works fine in chrome , mozilla browsers, not in air browser.

facebook login url :

https://www.facebook.com/dialog/oauth?client_id=$config['app_id']&redirect_uri=$config['callback_url']&scope=email,user_likes,publish_stream 

once user logs in our system using facebook login, details fetched url:

https://graph.facebook.com/oauth/access_token?client_id=".$config['app_id']."&redirect_uri=" . urlencode($config['callback_url']) . "&client_secret=".$config['app_secret']."&code=" . $_get['code'] 

using curl function.


page redirection works expected if run code in chrome, mozilla, etc. fails if run in air browser(as3 stagewebview).

why happening? not quite aware of as3 stagewebview logic.

please help.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -