• Hey! Guest! The 39th GMC Jam will take place between November 26th, 12:00 UTC and November 30th, 12:00 UTC. Why not join in! Click here to find out more!

Asset - Extension Facebook Profile Loader - Sooo Easy

Mert

Member
Facebook Profile Loader Extension (v1.1.0)
I've made it to let you guys retrieve user information easily. 3 functions and you're all ready. Can easily be imported to big/complex games. All you need to do is to create your Facebook App in Facebook Developer panel, add Facebook Extension(Yoyogames') into your game and you're done, rest is done by the extension.

It works in Android, iOS, and Html5.

Features
  • Retrieve user ID,name,first name, profile picture, birthday, gender, location..
  • All automated and backed up with callback scripts, you pretty much don't do anything :)
  • The extension loads everything for you in the background, so the only thing left for you to use the information.
  • Fun!
Example Code
Code:
//Draw Name and Profile Picture
draw_text(20,20,"Hello "+string(fpl_name()));
draw_sprite(fpl_profile_picture(),0,20,50);
Here's Marketplace Link
https://marketplace.yoyogames.com/assets/6271/facebook-profile-loader

Tutorial and Blog is post is on the way, it'll make it even easier for everyone to integrate this.
 
Last edited:

Mert

Member
Update ON,
2 new scripts added : fpl_cache_flush() & fpl_profile_picture_is_loaded()
 

Mert

Member
fpl_logout is added and Debug mode is fixed now. You can see debug output on GMS IDE.

I've some plans about new cool things. Also a blog post is coming about how to integrate it (For those who are not familiar with Facebook Apps)
 
Top