Giter Site home page Giter Site logo

Comments (8)

Aaron80b avatar Aaron80b commented on April 19, 2024

I have been having some issues as well I'm starting to think it may be server side but FB for android is working fine so it may be an sdk issue? I had been away for a couple days and did a refresh of the sdk today...

from facebook-android-sdk.

eldolor avatar eldolor commented on April 19, 2024

I reverted back to the distro from facebook-facebook-android-sdk-7744431.zip (5/30/2010), and my application started working normally.

The odd thing that I noticed with the new codebase was that the only id that was able to login successfully was the owner of the corresponding Facebook application.

from facebook-android-sdk.

soneff avatar soneff commented on April 19, 2024

Can you provide some more details to reproduce this problem? Is this in the simple example app? What application ID are you testing with? When exactly do you see the OAuthException? After the publish stream permission prompt (i.e. after logging in with the login button) or when trying to make a wall post?

from facebook-android-sdk.

eldolor avatar eldolor commented on April 19, 2024

The exception is displayed in the Web View as a JSON object string, containing the message "Invalid Session Key". I get this in my application "Wine Cellar" (App Id 125423214159200), right after I try to login.

from facebook-android-sdk.

Aaron80b avatar Aaron80b commented on April 19, 2024

Mine was the same... I tried deleting and adding a new app to troubleshoot so I don't have the app id.

from facebook-android-sdk.

soneff avatar soneff commented on April 19, 2024

@eldolor, I just tried your app ID with a test account and it seemed to work alright

do you see the login screen when you click on the login button (can you put in credentials and get a redirect to the permissions page?), or do you immediately get the OAuth exception?

One thing you could try would be to clear the app's local state (clear the saved access token and web view cookies):

e.g. put

try { mFacebook.logout(this); } catch (Exception e) { e.printStackTrace(); }

after SessionStore.restore(mFacebook, this); (Example.java: somewhere around line 73)

Let me know if that helps and we can try to work out a more robust solution.

from facebook-android-sdk.

eldolor avatar eldolor commented on April 19, 2024

I did see the login screen on clicking the Login button, and was able to enter my credentials. However, I was not able to get to the Permissions page, on account of the OAuth Exception.
I will be travelling for the next couple of weeks, and I will test the fix that you have suggested when I get back.

from facebook-android-sdk.

yariv avatar yariv commented on April 19, 2024

This issue should be resolved by now. If you're still seeing problems, please reopen.

from facebook-android-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.