Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 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 7 years, 11 months ago by  maysalward.
    #13428

    Günther
    Felgo 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 7 years, 11 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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded