Forums

OverviewV-Play 1 Support › Facebook Plugin – iOS crash

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4691

    Philipp

    Hi!

     

    The facebook plugin seems to have problems with iOS. When the user first accepts to connect to facebook in our game, safari is opened and he is prompted to accept, which is ok so far. If he accepts he is immediatly redirected to the app where he can play (also ok). The problem is now if he wants to share something the app crashes. It seems as if the facebook app was never really accepted, because when opening safari again the site is still open and you can accept again. This redirects you again directly to the game.

     

    Any suggestions or is this a bug?

    #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

    #4794

    Caeser

    I also have this problem, but on Android. Havent yet tested ios. The error only happnes with facebook.postGraphRequest() but not with facebook.openWallDialog(). I am trying to use the Scores API but my app keeps crashing when I try to post.

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

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