Forums

OverviewV-Play 1 SupportFacebook Plugin – iOS crash › Reply To: Facebook Plugin – iOS crash

OverviewV-Play 1 SupportFacebook Plugin – iOS crash › Reply To: Facebook Plugin – iOS crash
#4763

Alex
V-Play Team

Hi,

could you please let us know which facebook calls you do within your game in which order? Is this problem replicable?

We just tested the following sequence:

iOS6 without Facebook account linked in settings and without installed Facebook app (so webview fallback is used):

// Used fb item
Facebook {
    id: facebook
    appId: "xxx"

    readPermissions: ["email", "read_friendlists"]
    publishPermissions: ["publish_actions"]
}

// Pseudo calls
facebook.openSession() // Opens Safari, asks for basic read permissions -> OK -> redirect to app

facebook.getGraphRequest("me/friends") // Opens Safari, asks for read friendlist permission -> OK -> redirect to app -> friend list response OK

facebook.postGraphRequest("me/feed", { "message" : "My message" }) // Opens Safari, asks for write permissions -> OK -> redirect to app -> user wall post

facebook.openWallDialog( { "link" : "www.v-play.net", "description" : "This is the description", "name" : "V-Play name!", "caption" : "V-Play caption ..." } ) // Opens wall dialog, posts to wall

// Like the one above, all following requests are possible without further Safari redirects

Thanks,

Alex

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support