Facebook App ID not exporting

Bugs will be moved here once resolved.

Post » Sun Mar 03, 2013 3:26 pm

The example file is the default FB project. I added a test FB app id. The login button enables when launched from Construct, but never enables after exported to HTML.

Link to .capx file (required!):
http://sdrv.ms/ZRloWO

Steps to reproduce:
1. Run in Construct 2 and see that login button is enabled with expected functionality (actual app authorization with FB not necessary)
2. Export to HTML, open in browser, login button is never enabled as if the FB appID did not export.
3. Also, where can the FB APPID be located in the the c2 js file?

Observed result:
Login button not enabled after export even though FB id entered during design time.

Expected result:
Login button should be enabled as the only prerequisite for this to happen is the existence of the FB app id.


Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes

Operating system & service pack:
Windows 8

Construct 2 version:
r119 -- latest stable
    appeality2013-03-03 15:27:21
B
9
S
2
G
3
Posts: 7
Reputation: 2,563

Post » Mon Mar 04, 2013 7:06 pm

Can't reproduce, login button enables just fine here after exporting: http://www.scirra.com/labs/fbtest/

Note however the login button doesn't work because of your app's settings. If you look in Chrome's console it reports "Given URL is not permitted by the application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains. "
Scirra Founder
B
357
S
214
G
72
Posts: 22,946
Reputation: 178,228

Post » Tue Mar 05, 2013 9:14 pm

Oh yes, I know about the FB App settings. I was just doing a quick test to be sure I would be able to have a working login button. My issue could have been the fact that after I exported, I tested on a local server. I'll have to publish it to a live server to be sure. Although, looks like it was just my mistake. Thanks!
B
9
S
2
G
3
Posts: 7
Reputation: 2,563


Return to Closed bugs

Who is online

Users browsing this forum: byondisoft and 1 guest