Easy Asset Search

Facebook Instant Game Exporter

Facebook Instant Game Exporter Asset Image * This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost. $34.99
Category:
TemplatesTutorials
Developer:
Question Mark Games
Price:
$34.99
Rating:
(20 reviews)
Favorites:
101
Supported Unity Versions:
2018.1.1 or higher
Current Version:
1.2.1
Download Size:
1.06 MB
Last Update:
Apr 14, 2020
Description:
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
Continue »

Similar Packages