Forums

OverviewV-Play Plugins Support › Facebook connect everytime app open

Tagged: 

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

    Nour

    Hello

    I am integrating Facebook plugin, but when i click on connct to facebook on profile tab on leaderboard the app get connected to facebook, it it do it again each time app open, is this normal?

    Facebook {
            id:facebook
          appId: "xx"
          readPermissions: [ "email", "user_friends" ]
          publishPermissions: ["publish_actions"]
          onSessionStateChanged: {
               if (sessionState === Facebook.SessionOpened) {
                 console.debug("-----------------------------Session opened.");
    
                 // Session opened, you can now perform any Facebook actions with the plugin!
               }
               else if (sessionState === Facebook.SessionOpening) {
                 console.debug("-----------------------------Session opening...");
               }
               else if (sessionState === Facebook.SessionClosed) {
                 console.debug("-----------------------------Session closed.");
               }
               else if (sessionState === Facebook.SessionFailed) {
                 console.debug("-----------------------------Session failed.");
               }
               else if (sessionState === Facebook.SessionPermissionDenied) {
                 console.debug("-----------------------------User denied requested permissions.");
               }
             }
        }

     

     

    Thanks

    • This topic was modified 2 years, 6 months ago.
    #13428

    Günther
    V-Play Team

    Hi!

    Yes, once connected with Facebook, the app tries to connect again automatically to access the Profile Info or post achievements.
    However, the Facebook connection seems to be not working correctly at the moment. This might be related to the new plugin system we released recently.
    We are looking into the issue!

    Best,
    Günther

    • This reply was modified 2 years, 6 months ago by  GT.
    #13437

    Nour

    Thats annoying for users , i think better to make it when user want to share or want to do something on facebook, and for profile info maybe better to cache it for some time on user device

    also its the same issue on old version of facebook plugin

     

    Thanks

     

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