Launching Facebook Instant Game from web - facebook

I am looking for a way to launch Facebook Instant Games in the native mobile app from an external site. I have managed to launch the game in the desktop site simply by extracting from the built-in play button href's (e.g. https://www.facebook.com/instantgames/play/id_here). However I am having difficulty finding a way to launch the Messenger games from anywhere external.
Not sure if this is possible and far from my best Stack Overflow question, but the docs are helpless, so any help would be greatly appreciated, and also not to be crucified for the question as I don't have much more information to provide unfortunately.

As long as you have a page associated with your Instant Game you can use an m.me deeplink (e.g. m.me/everwinggame?game=everwing).
The format of these links is m.me/{page id}?game={game namespace}.
There's more information here, but appreciate the feedback on our documentation. Thanks!

Related

Sync game user progress across devices - unity

I have a really simple game on both iOS and Android written in Unity and I would like to save user progress across devices/OSes.
I already have Facebook analytics in it and so i was thinking i can implement Facebook Login and just save a couple of numbers on the Facebook server.
Upon some research it seems (?) that Facebook doesn't offer anything like that. You have to set up your own server and then just identify the player with Facebook login. A server like that is really an overkill for the game as i just want to save a simple Level Passed number.
Is there any other way? Can i use Facebook like that to save ONE custom user property? Perhaps i can use Google Play Services (both iOS and Android (?) ) to achieve what i want?
Any other free way of saving user progress across devices?
First thing Google play service stopped support for IOS
https://developers.google.com/games/services/ios/quickstart
Other suggestion for Cross platform services like firebase cloud, photon, Gamesprak etc.
https://firebase.google.com/products/firestore/
https://www.photonengine.com/
https://www.gamesparks.com/
Please not most of them giving free service for development only. Before use please check its price details

Augmented Reality App Store Process

We have a client that has asked us to build an Augmented Reality iPhone App to be used at a show.
The experience will be location based, ie you will need to be at the show where the markers will be placed to use the app.
Does anyone know the process Apple take to test this kind of app? How will they be able to give approval if they cant test it without being on location and assess to the markers?
Is it possible to submit the markers to them as files to print out and test?!
Any info is MUCH appreciated as cant seam to find anything specific online.
Thank you,
Jason
Put them online and give your reviewer links to each image.
I've done this before with QR Codes.

Facebook Game Application Flash CS6 AS3.0

I'm planning on creative a Facebook app for a college project but I'm unsure as to how to go about specifics.
I have been working within flash (animation, general AS3.0 coding) for close to three years so I'm pretty comfortable working within this program. I have looked up a lot of information about using the Facebook SDK for ActionScript etc. but I'm really not sure what I'm doing in relation to this.
Is it possible to create an entire game within Flash CS6 and then add any necessary PHP additions (for posting to timelines etc.) afterwards?
Sorry for not having a clue but any help would be extremely welcome!
You can get some examples from
http://code.google.com/p/facebook-actionscript-api/
Thanks
Dhiraj
If you just want to post data from the game to Facebook - for example, a simple "I scored [score] points!" message on the user's wall - then you should not need to write any code outside of your Flash game, other than making sure that the page it's on is set up correctly (with Facebook tags and JavaScript, etc.).
I found this post helpful in showing the basics of using the AS3 API to log in and pull data from Facebook into Flash: http://permadi.com/blog/2011/02/using-facebook-graph-api-in-flash-as3-1-5/.

Display Gamecenter leaderboard on website

Is there currently a way to read GameCenter leaderboard data from the Web?
I'm looking for a read only way to display a leaderboard on a companion website. I do not need to post scores or otherwise manipulate the leaderboard off the device.
I have a feeling the answer is going to be no and I'll need to use OpenFeint's because they have a JSON API available.
I have been trying to find an answer to this as well.
I came across an interesting article Game Center via Openfeint
that discusses using Openfeint and Gamecenter together by using the new Openfeint SDK
Then using their JSON API publish results to the supporting website. I cant see any other way around it and feel this is what we need to do. Not the nicest, but you do end up with a game that sits in both communities.
Hope it helps.
If you are the author of the app and your web host provides PHP and MySQL you could roll your own server-side script to process score submissions and another script to generate a dynamic HTML page to display the scores in any way you like. Many web hosts offer PHP and MySQL for free.
There is no ready made solution that I am aware of.
To be honest I don't think there is much to gain from doing this, since players already have access to the leaderboard from within the game, and visitors to a website might not care about high-scores of a game they haven't played. Thats just my opinion.

How would I add code that would update an online "counter" so I know how many times an iPhone app is being opened?

So I have searched for this but not finding anything about it and if I missed it sorry about that. What I am trying to do is see how to go about adding some code to my iphone app that will connect to a php script (if connection available) and update a counter so that I can let my clients know that their app is constantly being used? Also, would apple allow that? Or would my app be denied for doing such a thing? Any help would be great! Thanks in advance.
There's a bit of network plumbing to implement this. It's not hard, but a much easier route would be to integrate something like Flurry analytics into your app. They you can make one function call, and have it track and upload the information to Flurry's servers. You can view those stats and get an idea of how people are using your app.
Note: I don't work for Flurry, but I use (and like) their service.