[Solved] Need help regarding a facebook game with Dropbox

Get help using Construct 2

Post » Wed Jun 11, 2014 6:57 pm

Hi there,

I have a project (several actually) that I'm trying to get on facebook. I'm using dropbox (for now) as a SSL solution to test out some things. I plan on getting a real host eventually, but for now DB should be fine.

https://www.facebook.com/beeactivegame this is the game and it should work but it doesn't.

I point to https://dl.dropboxusercontent.com/u/699 ... index.html

there seems to be something blocking the file from working. Has anyone come across this before?

I know that db can be used for hosting a game because this was done by a buddy of mine with unity and it's hosted on db as well https://apps.facebook.com/rogerdodgerga ... &ref=br_tf


Thanks,
Caleb
Last edited by part12studios on Thu Jun 12, 2014 1:12 pm, edited 1 time in total.
B
59
S
9
G
1
Posts: 946
Reputation: 6,561

Post » Thu Jun 12, 2014 11:39 am

I'm sorry but I don't think the fact that Unity works is a valid argument. Unity has a devoted plugin for running web-apps where Construct2 applications run directly in the HTML5 files. I believe a Unity application runs independently from the browser it's run in - just like a Java app would for example.

I think it would be a very good idea to try a real host (I'm sure there are free ones out there you can try out before spending any money) as I'm not sure Dropbox was designed to be used for webhosting.
B
6
S
1
Posts: 41
Reputation: 762

Post » Thu Jun 12, 2014 11:51 am

B
44
S
10
G
8
Posts: 437
Reputation: 6,468

Post » Thu Jun 12, 2014 12:10 pm

It appears I don't know what I'm talking about. Thanks Ubivis, seems very useful :)
B
6
S
1
Posts: 41
Reputation: 762

Post » Thu Jun 12, 2014 1:09 pm

Yea I was following the original (outdated) Scirra Facebook tutorial which left me very uncertain. I didn't realize someone had made an updated tutorial. That reminds me.. I should probably make one for Tizen, because some gotcha's are in there too, I'm just waiting for the C2 app I submitted to be 100% approved to be sure everything I did was right

@eightbitbattlecat yea I understand your reasoning though. Unity isn't providing an index.html and they even have a special unity condition in the setup so you know facebook has made a very deliberate effort to insure it's psosible

@ubivis no i hadn't and that was just the thing I needed! basically i didn't know I had to do a link like this:


Canvas URL
http://dl.dropboxusercontent.com/u/6999 ... x.html?%2F

and

Secure Canvas URL
https://dl.dropboxusercontent.com/u/699 ... x.html?%2F

the ? at the end... also oddly enough it automatically added the "%2F" at the end of both when I saved them

Also I didn't know about putting the App ID in the game properties in C2, which makes sense to validate the app.


behold! https://apps.facebook.com/voidergame/ lol :) thanks everyone for your input on this. Its always this intense race to get things working right the first time then life gets much easier to roll out future games..

Thanks!
Caleb
B
59
S
9
G
1
Posts: 946
Reputation: 6,561


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, CreativeMind and 22 guests