MV as Facebook App

Has anyone tried, started trying, or successfully put their game as a Facebook app by chance?

From what it looks like you can just host it on your own server as an HTML game, and use Facebook Apps to create an app to pull the game in an iframe, but I was hoping to hear from someone who would know more by chance.

I've read a bit of what is on the forums about RPGs and Facebook, and understand it isn't a huge audience that plays them on there. I'm more wondering if and how someone has done it rather than all that.
Oh man, if you could do this, I would be 1000x more incentivized to be using MV over Ace. I found a few things I dislike about MV enough to carry on with Ace, but if I could make my games playable on FB, I would be super excited. To date, I have made 0 RPGs, and a lot of (unreleased so far) Non-RPGs.

I will be following this topic, for sure.
I've moved this thread to MV Deployment . Please be sure to post your threads in the correct forum next time. Thank you.
Just in case anyone is still interested....

It does indeed work, you need an SSL certificate on your server to do it:

Spoiler
gallery_605_7_107087.png
Awesome! I am not much of an IT expert, so....

How do I get an SSL certificate? and do i need a server to host my games before I can add them to facebook? thanks man, thats awesome.
Nelderson, kind of obvious but I'll still ask.

Did you host on your own server and run it to a frame for Facebook?
Oky Doke....before I begin this is not for the feint of heart if you do not have any experience in web development/port forwarding/networking/server maintenance...I am an IT guy, but never hosted a server before.  So it's not impossible to learn, but be warned...It will take a while to get the hang of.

With that disclaimer out of the way, here's how I did it:

1.  Make a webserver that can serve up your game to standard http requests.  I personally used Ubuntu and Nginx to serve my game.

2.  Buy a domain.  In order to proceed through step 3 you need a valid one (And most freebie domains are disqualified).  There's plenty of places to get the first year dirt cheap. 

3. Obtain a FREE SSL license from the instructions here: https://konklone.com/post/switch-to-https-now-for-free

4. Configure Nginx to listen on port 443(https) and place your certificate locations in (Instructions are shown in the link from step 3).

5. Make a developer account on Facebook https://developers.facebook.com/

6. Use Canvas and fill in your webserver address.

7. Test....and good luck.   🙂
There's plenty of places to get the first year dirt cheap.
Be VERY carefull about this - most of the cheap domain hostings have limited traffic, and your game will either be blocked or you will be asked to pay up if that traffic limit is reached.
And with a game server, you'll need a lot of traffic if you ever get more than a few dozen people playing it.


If you're really interested in such a thing, it's a lot better in the long run to get a server with unlimited traffic from the beginning, even if that is a bit more expensive (my own website is 5€/month with unlimited traffic, and it's a package of several website)
I'm a pretty quick learner, and I know some people slightly more qualified than myself. It sounds like it is fairly easy to do.

What are the drawbacks in setting up an old PC AS a server with Apache or some other software? Or am I mistaking the capabilities for something far more powerful?

Thanks for the tutorial, Nelderson. and the tips, Andar. I am getting kind of giddy at the prospects, but I need to develop a quality game first! 🙂 )
Be VERY carefull about this - most of the cheap domain hostings have limited traffic, and your game will either be blocked or you will be asked to pay up if that traffic limit is reached.

And with a game server, you'll need a lot of traffic if you ever get more than a few dozen people playing it.

If you're really interested in such a thing, it's a lot better in the long run to get a server with unlimited traffic from the beginning, even if that is a bit more expensive (my own website is 5€/month with unlimited traffic, and it's a package of several website)
Agreed.

I just used a server at home from spare parts so it was essentially free for me (And I also have a badass fiber connection 😛 ).  But if you are serious you should find an unlimited bandwidth hosting site to host.  Cause games use that bandwidth....and they use it quickly....

I'm a pretty quick learner, and I know some people slightly more qualified than myself. It sounds like it is fairly easy to do.

What are the drawbacks in setting up an old PC AS a server with Apache or some other software? Or am I mistaking the capabilities for something far more powerful?

Thanks for the tutorial, Nelderson. and the tips, Andar. I am getting kind of giddy at the prospects, but I need to develop a quality game first!  🙂 )
Go for it.  Try it out with an old rust bucket of a pc behind your home connection.  When you want to get serious host it on a legit server with better bandwidth 🙂

And you're welcome....I thought I had no chance of doing it on my own, so experiment!!!!!
What are the drawbacks in setting up an old PC AS a server with Apache or some other software?
Your connection with the internet.
The computer isn't the problem, it's getting it on a highspeed internet connection for others to access.


Just remember - what others try to download from a server in your home will need your upload speed to proceed - and even with DSL, that's rarely more than a few hundred KB/s, and all people playing at the same time would share that limit...
Jumping in to say that I'm hosting MV games for free with a subdomain on mvgamehub.com for anyone interested.
My extended question is: Could I add an SSL to that subdomain and add them to facebook?

You're not looking for exclusive hosting rights, are you Hudell? 😛
My extended question is: Could I add an SSL to that subdomain and add them to facebook?

You're not looking for exclusive hosting rights, are you Hudell? 😛
You need to have access to the root domain for that free SSL method I had.  I don't know about other paid SSL certs?
I'll check here if I can add SSL on the domain and subdomains.
I'll check here if I can add SSL on the domain and subdomains.
If you have access to the root domain I don't think there'll be an issue....I honestly don't know if you even need separate SSL certs if they are on the same webserver or hosting site?
Try with dropbox... My game runs with dropbox on facebook.
Now you just need to Setup your game with events that let you post progress to Facebook, and invite friends to play the game with the incentive of starting the game witha little bonus. lol. THEN the micro transactions. >:3 muahahahahaha.
Try with dropbox... My game runs with dropbox on facebook.

tell me more!
Hey guys! (in particular @Nelderson )

Does this method still work? I don't have a problem shelling out money for a domain, I already have unlimited hosting.

But I want to know how to embed my game onto Facebook.

Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/mv-as-facebook-app.52031/