Announcement

Collapse
No announcement yet.

Android app will work for regular password login, not for Facebook

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Bug / Issue] Android app will work for regular password login, not for Facebook

    When try to login via Facebook (where the Android phone itself is already logged into Facebook), get this error



    I tried to add the
    https://_________-app.firebaseapp.com/_/auth/handler
    as a valid OAUTH redirect, but doesn't seem to be the solution and created its own login error.


  • #2
    Does the user already have a registered and connected user account on the site?
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • #3
      Yes, the user in question is able to login via FB on the web version of the forum.

      Comment


      • #4
        Please see the attached file.

        Attached Files
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API - Full / Mobile
        Vote for your favorite feature requests and the bugs you want to see fixed.

        Comment


        • #5
          I am not sure I understand, so I am supposed to create new Facebook login apps at the Facebook Developer site, just for use by the vbulletin apps?

          Comment


          • #6
            You would have to add the Android capability to your Apps.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API - Full / Mobile
            Vote for your favorite feature requests and the bugs you want to see fixed.

            Comment


            • #7
              These are your instructions:
              • Go to developers.facebook.com.
              • Go to “My Apps”
              • Add a New App
              • Select the app platform to add.
              • If Android, click on Android icon
              • Choose category and create App ID
              • You can get your package name for the Google developer console of your app.
              • Enter Key Hashes:
                • Development Key Hashes: lqkV9cEKqWY7ia8DSi
                • Release Key Hashes: KON+rwxbNcSpxE9OZpQ/Fu9/kAQ=
              • Click Next. You’re done. Scroll down to finish.
              • To setup iOS app in facebook:
              • Get the bundle ID from the documentation.html included in the iOS app download package:
              • You’re done. Scroll down to finish.

              They bear no relation to anything I see under the Dashboard, Settings or Facebook Login / Settings for my approved FB login app.

              Also, the instructions for Android refer to "add a new app" which the phrase right now is "Create New App," but then anyway you are saying to add the capability not create a new app.

              By the way, are the development and release key hashes unique to my app, or universal?

              When I post these questions about any sort of Facebook login, let alone Facebook login via Apps no one comments, which leads me to believe that I am all alone in trying to implement vbulletin apps that allow FB login.

              Comment


              • #8
                Sorry.. .Google Docs sucks and I guess it doesn't save images properly.

                Try this file.

                Attached Files
                Translations provided by Google.

                Wayne Luke
                The Rabid Badger - a vBulletin Cloud demonstration site.
                vBulletin 5 API - Full / Mobile
                Vote for your favorite feature requests and the bugs you want to see fixed.

                Comment


                • #9
                  That's better. So I am basically creating a new app? Two new apps?

                  It was hard enough to figure out what the package name and default activity class name were...I got that the package name is
                  com.vbulletin.#### where #### is the four digit identifier of my app in the Google Store, correct? but then is the other one simply
                  com.vbulletin.####.activity.Login
                  where the #### is the same number?

                  I am stuck at Add Your Development and Release Key Hashes...I have to run terminal commands on my iMac to get these?

                  Also there seems to be no two separate areas to enter these numbers in Facebook now, just one space.

                  Really someone at vbulletin needs to go through this process again with what the FB developer console looks like NOW because it has all changed, and then create new manuals for this for both iOS and Android.
                  Last edited by MDawg; Fri 7th Sep '18, 7:20pm.

                  Comment

                  Related Topics

                  Collapse

                  Working...
                  X