Forums

OverviewV-Play 1 SupportFacbook logout › Reply To: Facbook logout

OverviewV-Play 1 SupportFacbook logout › Reply To: Facbook logout
#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

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