[PLUGIN] Facebook2

0 favourites
  • 5 posts
From the Asset Store
The I18N (Translation) is a Construct plugin created to translate text in game.
  • I recently had to make a "register with Facebook" feature for one of my customers (for web, not mobile). To do so I needed to grab the user's email, but official Facebook plugin does not have this feature. So I ended up rebuilding the official plugin and I thought some of you may find it useful.

    It's the exactly same plugin as the (current) official one with just one expression more which allows you to fetch the user's email address.

    Please note that this plugin does not overwrite the official one. After installing this plugin you will have two Facebook plugins in your C2. One will be called Facebook (which is the official one) and next to it you'll find Facebook2 (which is the one I'm sharing here).

    DOWNLOAD: Facebook2 plugin

    Ashley could you consider adding this expression to the official plugin? It's actually just to copy and paste the code from this one as it is built on the latest official one.

    Here's a tiny snippet of how to fetch the email.

  • I should overvrite existing original facebook plugin ? or add folder as facebook2 ?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Add folder as facebook2 and then use Facebook2 plugin instead of Facebook plugin.

  • Can you add capx example?

    I try make what you add in atrachment but this is from original facebook plugin xD Your plugin have more options

  • Uhm, there's really nothing more in the capx than those two lines on the screen I attached. You just have to make a Facebook app under https://developers.facebook.com/apps then copy the app id to the Facebook2 plugin properties and that's it.

    Please follow this tutorial to understand how it works https://www.scirra.com/tutorials/58/how ... ame/page-1

    The interface of developers.facebook.com/apps has changed a bit but the idea is the same.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)