Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3320] Facebook Login Problem "Safari can not open the page because the address is invalid"

GitHub Issuen/a
TypeStory
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2014-03-10T06:14:17.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator Modules
Labelsn/a
ReporterAditya Jawa
AssigneeRitu Agrawal
Created2014-03-05T20:37:07.000+0000
Updated2016-03-08T07:57:44.000+0000

Description

Hi I have used the facebook example (module) directly from the documentation which used to work earlier but doesn`t work now. After I click on the "Login With Facebook" button in my app, it takes me to safari and asks me to authorize the app. I click "Allow" and instead of returning me to my app it shows an alert box saying... "Cannot Open Page Safari can not open the page because the address is invalid"

Comments

  1. Ritu Agrawal 2014-03-05

    This could happen if your Facebook application ID doesn't match with your tiapp.xml FACEBOOK_APP_ID property. Can you please confirm if FACEBOOK_APP_ID property in your tiapp.xml file matches with your Facebook application ID? FACEBOOK_APP_ID http://docs.appcelerator.com/titanium/latest/#!/api/Modules.Facebook
  2. Aditya Jawa 2014-03-06

    i was using facebook.appid . The problem has been resolved thanks :)

JSON Source