Munchie Games Posted January 3, 2016 Share Posted January 3, 2016 Hi, I added a very simple minigame using Phaser to Facebook here: https://apps.facebook.com/sourlemonI used the Facebook smash game lib here: https://github.com/fbsamples/web-friend-smashand currently only utilized the friend request for share but might use the Facebook highscore share that's in their example for chip sounds I used this amazing vst http://www.alyjameslab.com/alyjameslabsuperpsg.html for simple Facebook rev generation I used CPMstar: https://www.cpmstar.com (which is allowed on Facebook) Connecting Phaser games to the Facebook Api using the smash code is ultra simple, at the end of their social.js class found at above linkI just added this at end of class: function logFromGame(){ FB.init({ appId : 'ADD YOUR APP ID HERE', xfbml : true, version : 'v2.5' }); FB.Event.subscribe('auth.authResponseChange', onAuthResponseChange); FB.Event.subscribe('auth.statusChange', onStatusChange);} then once the Phaser game was loaded I called this method, then just made sure the Phaser game was added in the html before the social.js You might be asking "do people still play games on Facebook", yep and it seems they like very very simple html5 games made with Phaser! It seems better than submitting games the old skool way to arcades. Ian plicatibu 1 Quote Link to comment Share on other sites More sharing options...
gabdab Posted September 12, 2016 Share Posted September 12, 2016 Can you monetize games on Facebook somehow ? Quote Link to comment Share on other sites More sharing options...
plicatibu Posted October 9, 2016 Share Posted October 9, 2016 On 12/09/2016 at 6:11 AM, gabdab said: Can you monetize games on Facebook somehow ? He said: He is using cpmstars as ad provider. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.