Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

facebook login error "given urls is not allowed"

Oleg_A_2
Beginner
674 Views

Dears,

I have "given urls is not allowed" erron when using Facebook plugin for XDK. I tried to search forum and even found the same topics but at the end do not understand how to configure facebook application. The questions I still have:

1) If for Facebook plugin I have to configure web site platform in Facebook app config then - what site url I should specify (I've tried http://localhost/ with no effect) ?

2) In case I have to configure Android platform then what Main Activity field should I specify ?

Thank u.

0 Kudos
2 Replies
Oleg_A_2
Beginner
674 Views

Thank you,

Facebook login works perfect now. So the answer is - 

1) We should register only Android or/and IOS platform in Facebook application settings. Web Site is not needed for XDK application. No URL need to be specified there.

2) For Android platform config: Package name we should take from the build and Main Activity (second field) should be empty. Hash I took from the message from the phone on unsuccessfull connect. (I do not know why my hash generated by instruction https://software.intel.com/en-us/xdk/articles/facebook-android-keyhash ; was rejected)

Thanks again

0 Kudos
Reply