Facebook Connect plugin with PhoneGap Build

  • 10
  • Question
  • Updated 6 years ago
  • Answered
Hi everyone!

For a few days i'm trying to get the Facebook Connect Plugin working on iOS. I followed every step from https://github.com/phonegap/phonegap-... and it seems not to work with the online PhoneGap Build tool.

When i directly run the app from Xcode on my iPhone 4 the Facebook Connect Plugin works! But when i try to build it with PhoneGap Build and install it on my iPhone by the QR code the Facebook Plugin does nothing and shows also no error message...

In my config.xml i use the following code:
<plugins>
<plugin name="com.phonegap.facebook.Connect" value="com.phonegap.facebook.ConnectPlugin" />
</plugins>

I use PhoneGap 2.9.0
Hope someone can help me with this :)
Photo of pietjevanpiet

pietjevanpiet

  • 13 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 10
Photo of shlomicohen

shlomicohen

  • 4 Posts
  • 0 Reply Likes
still geting:
given url is not permitted by the application configuration

i have eroor in xcode
phonegap 2.9
in xcode and phonegap build its get the same result
but when i try to uplad it to my sever and in facebook app setting i enter me domain its work on safari and android

xcode debuug:

m.facebook.com/dialog/oauth?display=touch&domain=&scope=email%2Cuser_birthday%2Cuser_relationship_details%2Cfriends_birthday%2Cfriends_hometown%2Cfriends_relationships&e2e=%7B%7D&app_id=XXXXXX&locale=en_US&sdk=joey&client_id=XXXXX&redirect_uri=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D24%23cb%3Df26c6f8fa4%26origin%3Dfile%253A%252F%252F%252Ff7c21a858%26domain%3D%26relation%3Dopener%26frame%3Df15847fb34&origin=2&response_type=token%2Csigned_request

anyone solved it?
Photo of Zahir

Zahir

  • 3500 Posts
  • 40 Reply Likes
Hi everyone,

Are there any updates on this matter?
I would have to close this ticket if it stays inactive.

Thanks.
Photo of Bimalendu Behera

Bimalendu Behera

  • 1 Post
  • 0 Reply Likes
Calling FB.logout() after a user logs in returns status unknown. After which when I call FB.login() it takes the previously logged user as active user.

I am using Facebook JS SDK with key hashes in facebook settings. How do I solve this issue ?
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Hey Guys

While waiting for updates and several fixes for Facebook plugin, you might want to try the following alternative as well.

http://coenraets.org/blog/2014/04/fac...

Hope that helps.

This conversation is no longer open for comments or replies.