Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Templates
Tutorials
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/10
Help to make game run on Facebook Instant Game Platform both Web & Messenger.


Important update:
Do not require install Facebook addon!
Do not require install Facebook addon!
Do not require install Facebook addon!


Version changes:
Ver 1.2.1
1. Add API
a. void FBInstant.payments.onReady(System.Action cb)
b. void FBInstant.payments.getCatalogAsync(System.Action<FBError, Product[]> cb)
c. void FBInstant.payments.purchaseAsync(PurchaseConfig purchaseConfig, System.Action<FBError, Purchase> cb)
d. void FBInstant.payments.getPurchasesAsync(System.Action<FBError, Purchase[]> cb)
e. void FBInstant.payments.consumePurchaseAsync(string purchaseToken, System.Action<FBError> cb)
f. bool FBInstant.payments.isSupportPayments()
2. API Demo
3. Update Document

Ver 1.1.1
1. Add API FBInstant.context.getPlayersAsync
2. Game Main Entry Script can be placed in other directory
3. Update Document

Ver 1.0.9
1. Update Document.Only Support Ver 2018 & Ver 2019. It's hard to success test on Ver 2020.

Ver 1.0.8
1. Support Unity 2019.Tested with Unity 2019.1.14f1. If you are useing older verion like 2018. You no need to upgrade to this version.
2. Unity 2019 use fb-instant SDK 6.3.

Ver 1.0.7
1. API Changed(Compatible with older version):
FBInstant.PreloadRewaredVideoAd (string adId) to
FBInstant.PreloadRewaredVideoAd (string adId, System.Action<bool> onReadCallback = null)

Ver 1.0.6
1. Add API FBInstant.player.canSubscribeBotAsync
2. Add API FBInstant.player.subscribeBotAsync

Ver 1.0.5
1. Add API HTMLCanvas.GetScreenShotBase64


=================================
1. Use Instant SDK 6.2
2. Support get player info
3. Support get set data
4. Support get set leaderboard data
5. Support play interstitial AD
6. Support play rewarded video AD
7. Support share
8. Support choose context
9. Test success on running Instant game on localhost
10.Test success on RedMi 5 Plus
11.Test success on iPhone 5


Game dev workflow as :

Prerequisite :
1. Create App on Facebook
2. Install Unity 2018.1.1
3. Install WebGL addon


Common practice :
1. Create new Unity Project
2. Switch Platform to WebGL
3. Import this asset
4. Open DemoScene and add scene to Build Settings
5. Click "Build" Button to build WebGL project, the output directory **MUST** named "web"
6. Test the game on localhost
7. Zip the "web" directory and upload the .zip to Facebook via web hosting tab
8. Test the game on mobile device both Android & iOS and web platform


Knowing Issue:
1. Require include font file to display other languages expect English
2. Build time is a little longer

Facebook Instant Game Exporter

(20)
101 users have favourite this asset
(101)
$34.99
Taxes/VAT calculated at checkout
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
1.1 MB
Latest version
1.2.1
Latest release date
Apr 14, 2020
Original Unity version
2018.1.1
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR