Testing Facebook Instant games

Hello,

What is the best way to test the fb functionality of the fb instant sdk? By this I mean how do I test sharing, high scores, friend list info.

Do I have to use my personal fb account? What if I’d like to populate the high score table with dummy data for testing purposes?

Thanks!

If you have a developer account, and an app registered, you can add test users (virtual or real ppl). The virtual test users have their own email and password, and they work as a regular user.

As for dummy data, I don’t know what the api’s look like, so I cannot give advice there.

3 Likes

More info: https://developers.facebook.com/docs/apps/test-users/

I don’t believe this is supported. Although you could temporarily replace the functions dealing with the high scores to return mock/fake data.

1 Like

Okay, thanks! Will try it out.

i work with the instant game with test user in local pc. it was working find. suddenly it occurred error when connect with the facebook .now test app not working on local pc but it is working on facebook hosting.have you any idea for that issue.

What kind of error?