!! Ojya Leaderboard Facebook Extension !! V13a - Facebook API 13 - RELEASED -


  • *
  • Posts: 135
Ojya Leaderboard Facebook Extension
for iOS and Android
(extension and game-kit)

Developed for pure gaming experience !

All developers update to latest version ,
as from July 2019 facebook depreciates important calls.

Facebook API 13   

The best Facebook Extension for Stencyl
for Leaderboard creation and Facebook general use

*** Error free score mechanism ***

***Easy to import our leaderboard to your existing game***

Interact with Facebook players, share levels,scores and bonus.
Increase the playability of your game.
Advanced offline-online gaming
Design powerful Facebook leaderboards
Using only Facebook server or SQL-database for scores

Fully working since January 2015 !

Finally  Facebook OpenGraph Scores   -  Levels/Scores/bonus  share with friends. (Not only score)
This was a wish of  many Facebook Game Developers asked from Facebook and never happened before.
Now all the complex logic mechanism of handling levels and scores is inside a STENCYL behaviour.
(online and offline handling of levels/scores , backup scores, comparing mechanism of local scores and internet scores)

Post to facebook timeline game celebration or challenges to other players
Please consider the sample game as a help to build your own leaderboard using the Extension or modificate ours for your needs

As you may know games like Candy Crash or many other games have these success not only for the game play but because users challenge friends with the facebook , sending helps and posting scores. And of course you may see a map of your friends score on your leaderboard.
The extension now has all the features a game developer could ask, for making a powerful leaderboard and connect all players together.
Of course you can use this extension only to post on Facebook timeline Images and info, without using the leaderboard part in your game

Now you can:  1.  Install your application and Login in facebook with permissions, so you
                                      can post scores, post stories and interact with your facebook friends.
                                      THE MOST IMPORTANT for gaming !

                                 2.  Get the level-scores and bonus of players that play the game.

                                 3.  Share bonus or any game item you like with your friends: ask, give and get actions.

                                 4.  Challenge friends and posting score ,images and information on their facebook timeline.
                                 5.  Celebrate a victory with Opengraph Action and post to timeline, small or large image.
                                                     With game score information, link and tags.

                                 6.  Support for multiple Facebook user accounts  playing online and offline,
                                                     and saving score information.

                                 7.  There is also, above the specific blocks of certain Facebook functions,  a general block that
                                      you can write your own facebook graph api call  in stencyl.

                                 8.  And last the NEW Open Graph Level Scores with a logic mechanism build inside Stencyl.
                                               a. Create for first time  or update existing level-scores in Facebook server
                                                                  or SQL database
                                               b. Save all the scores also in local device.
                                               c. Play the game and post scores offline if there is no connection, and post later
                                                                  when the user is connected.
                                               d. Compare and join the scores of the local devices and server scores with an
                                                                  option if the user wants to keep only the highest score of that level.
                                                e. With the level and scores you can post also bonus achievement that
                                                                    your friends can see. - ex: Level 1 with (Score:2000 Bonus:20)
                                                f. Error-free score mechanism and advanced off line gaming that understands
                                                                 every possible game condition, no internet, slow response, multiple attempts of
                                                                 getting the response etc...
                                                g. Two leaderboard Maps. One for each level where the Facebook user's icon follow the
                                                                   path , and one map with all the levels of the game.

The OjyaLeaderboard game is a finished , leaderboard. Every gaming aspect and every possible playing situation is taken in consideration.

The facebook setup with the Facebook API 2.8 and above is really plug and play . Only 3 attributes.
And now in Version 10 you can setup easily the FTP and SQL connection , to take advantage of the new features.

In the game there are also blocks and code that you will find really useful for your games in general!
The extension will have a code,password that will be sent with an email to you and with a link to download the extension.
Inside the zip file you get also 2 PDFs. One for the complete installation and main setup of facebook, ftp and SQL (if choosed).
The second pdf shows how the blocks of scores , sharing game-items and post to timeline works.
Please, follow always the Facebook policies that may change.

OjyaLeaderboard extension open the gates to Facebook for Stencyl, and uses the authentic calls of Facebook and the original SDKs. The app review by Facebook concerns only the developer of the game. Use our blocks following Facebook policy in respect with the current API.
See inside our PDF for how to obtain easily the app review by facebook

From July 2019 and using facebook API 3.3 , you need to have a web-hosting service with ftp and sql access , using sql-scores.
Facebook has depreciated the function Ojyaleaderboard was using for the scores.
Although, it is more professional and secure to use an SQL-database for the scores. And it is very simple and automatic to setup the sql-database using Ojyaleaderboard.

Last update in  16 February  2021
The extension is tested with Stencyl  3.4.0 build 9300 , Stencyl 4.0.4 and Stencyl 4.1.0.
Facebook iOS and Android SDK v8
Tested with latest Facebook API v13                                                                                                  Version 13a
Compatible with iOS and Android                                                                                                          32 euros
I will support the extension ofcourse and will be updated often.                         

Thanks you and good developing with Stencyl!                                           
Ojya Games

Please visit our site to get the extension and the game, and for details of how to use it.  OjyaGames site

Youtube Channel
Youtube : https://youtu.be/8mBjx_h2oxQ
Youtube Post Challenge new version :   https://youtu.be/X7zvybe_h-o

Define the Facebook App :   https://youtu.be/4gr7ukqTsSw
Import game Kit :   https://youtu.be/mCrejd_dpq0
Play the Game Kit V5 :   https://youtu.be/fh5XKdFbj94

Change the two map leaderboard path graphics :   https://youtu.be/ESq0PDt3Ec4


« Last Edit: February 27, 2022, 12:17:51 am by andyvene »


  • Posts: 488
ohh, this is pretty awesome! I've been waiting for an extension like this for a long time. I also think it's fair to charge a fee for the extension you've put a lot on effort on this and the instructions seem good. I'm also making a "puzzle" type of game that would benefit a lot from this. I hope you can keep the extension up to date, I will purchase it in a few weeks time. Good job and massive thanks


  • Posts: 81
Indie Game Developer.
(I do not speak English well.)


  • *
  • Posts: 135
We are making some updates. Wait for the site again


  • Posts: 534
Great work ! But in IMO functions like this, should be absolute basic standards and should be delivered with Stencyl native ! anyway, GREAT WORK thanks for your effort !! Will follow your project and buy !


  • *
  • Posts: 135
Yes i know. I waited a long for a Facebook extension like this and i had to do it my self at the end.
 My cousin was developing our game to come out soon and i was developing the Facebook part.
Yes i think from Stencyl was missing a feature like this.

In a few minutes site will be updated.......   


  • *
  • Posts: 135


  • *
  • Posts: 714
Great work, just out of curiosity.

With which SDK version did you develop this extension?
And what did you update?


  • *
  • Posts: 135
Hello, i think it was  SDK 3.22  for both iOS and Android. I compiled the files 6  months ago.
And is tested with Facebook Apps until  APIv2.4 the latest.
I made some updates inside the game and the site.


  • Posts: 278
This is really awesome!
Will this be able to share score on FB with screenshot like the Simple Share ext?

Awesome job!


  • *
  • Posts: 135
ATTENTION: Old version of challenge.
Yes you can share scores but not a screenshot , but images from you game website.(images of level's number , achievements etc.- just create a image library for that scope, a page hide from the users)
You can also tag friends and the photo can have an url link, lets say to appstore or playstore(so promote your game to other friends.)
All this WITHOUT writing manually the message or tagging  your friends.(you configure all inside stencyl !)
The image of the post can be as large as you want. Can fill up as width all the screen of your device
(but i am thinking to integrate a feature like this , a user made image inside Stencyl ,only for Facebook. )

See how you post a preconfigured challenge to a friend.

And the challenge is like

This is the icon of the game but you can put a larger image that takes all the width of the mobile screen, maybe saying " YEAH i Beat You !!"

New update.  New post challenge.  Custom Images

« Last Edit: October 22, 2015, 08:28:58 am by andyvene »


  • *
  • Posts: 714
Hello, i think it was  SDK 3.22  for both iOS and Android. I compiled the files 6  months ago.
And is tested with Facebook Apps until  APIv2.4 the latest.
I made some updates inside the game and the site.

Ok just same advice, update to 3.24 or 4.6 in order to support IOS9.

Maybe a version history, for the updates you make. So the users know what you update.

Its just a advice


  • *
  • Posts: 135
Hi Robin,
and thanks for the advice.

I just updated Facebook IOS SDK   to 3.24 !!!!

Perfect functional.

« Last Edit: August 30, 2015, 03:22:28 am by andyvene »


  • Posts: 1018
Thanks so much for putting it up. I wonder whether the extension may stop working if Facebook APIs are updated. Is that true?
If I helped you at anytime, help me back build my twitter followers :)