Forums

OverviewV-Play 1 Support › Facbook logout

Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6668
    #6670

    Christian
    V-Play Team

    Hi,

    what is the text of the ProfileView fb connect button?

    Also, for facebook issues this is a nice helper to better understand the errors:

    // debug text elements for debugging fb connection
        Text {
          color: "white"
          width: parent.width
          visible: true
    
          // position it on the bottom, but slightly up so it doesnt overlap the fps
          anchors.bottom: parent.bottom
          anchors.bottomMargin: 10
    
          wrapMode: Text.Wrap
          text: "UserId: " + gameNetwork.user.userId + ", Name: " + gameNetwork.user.name + ", DeviceId: " + gameNetwork.user.deviceId + "\nFBId: " + gameNetwork.facebookId + ", tokenValid: " + gameNetwork.facebookTokenValid + ", " + (gameNetwork.facebookToken === "" ? "localTokenEmpty" : "localTokenSet") + "\ngrantedFbReadPerm: " + gameNetwork.grantedFacebookReadPermissions + ", grantedFbWritePerm: " + gameNetwork.grantedFacebookWritePermissions + "\ngrantedFbPerm: " + JSON.stringify(gameNetwork.grantedFacebookPermissions) // + ", FBToken: " + gameNetwork.facebookToken      
          font.pixelSize: 7
        }

     

    You can put it somewhere in your main scene and connect it with the gameNetwork properties. Can you please post the approximate output of this text element when your issue occurs?

    Cheers, Chris

    #6676

    Nour

    Hi Chris

     

    I think the problem comes after integrating game network

    1- Game crash while logging to facebook – if  “<i>autoRetrieveUserIdAfterSessionOpen</i>” is true

    so <i>getGraphRequest</i>(“me”) crash the app when game network is integrated

     

    2- if you remove this line from facebook item “<i>getGraphRequest</i>(“me”)” application will log normally

     

    is there a problem with linking game network with facebook!!??

    I can send Sample code if you wish

     

    Thanks

     

     

    #6679

    Christian
    V-Play Team

    Hi,

    so you are modifying the Faceook item directly, not with the GameNetwork function connectFacebookUser() and disconnectFacebookUser()?

    What are you doing with the Facebook item in your game?

    And yes, please send the source code.

    Cheers, Chris

Viewing 4 posts - 1 through 4 (of 4 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