Code Monkey home page Code Monkey logo

Comments (12)

mmangino avatar mmangino commented on July 17, 2024

Tokens expire. Can you explain what you expect to see and what is actually happening?

from facebooker2.

nishant-n avatar nishant-n commented on July 17, 2024

Every time when user logged in my application, the Facebook token get expired, I wants if once user authenticated once from his/her account, It will not let user disconnected until user do it by itself .

from facebooker2.

mmangino avatar mmangino commented on July 17, 2024

That's not how Facebook works. The expiration happens on the Facebook side. Take a look at their documentation for the flow.

from facebooker2.

nishant-n avatar nishant-n commented on July 17, 2024

Ok I'll update you with proper errors!!

from facebooker2.

nishant-n avatar nishant-n commented on July 17, 2024

I've gone through this https://developers.facebook.com/blog/post/2011/05/13/how-to--handle-expired-access-tokens/
and I'm using offline_access , still its let me disconnect , any Idea ?

from facebooker2.

nishant-n avatar nishant-n commented on July 17, 2024

Should I submit a new issue?

from facebooker2.

mmangino avatar mmangino commented on July 17, 2024

That's fine, but if you do, include actual errors, actual tokens and everything needed to reproduce the error. This code is in use in a very large number of installations without issue, so it is likely a setup problem or a mismatch between how things work and how you are using it. Also, keep in mind that offline access went away for new tokens, so most users will only have limited time access.

Mike

On Oct 24, 2012, at 7:13 AM, Nishant Nigam [email protected] wrote:

Should I submit a new issue?


Reply to this email directly or view it on GitHub.

from facebooker2.

nishant-n avatar nishant-n commented on July 17, 2024

Well I'm using offline_access and after logout from my FB account its giving me execetion on application, exception is
<% rescue Mogli::Client::OAuthException, Mogli::Client::HTTPException %>

Your Facebook page access has expired. Please reconnect your account on your restaurant profile page.


<% end %> I also enable offline_access from FB app settings. Any help is appreciate . By the way thanks for your quick reply.

from facebooker2.

mmangino avatar mmangino commented on July 17, 2024

So this is saying it's page access. Again, offline_access was removed by Facebook. If Facebook is saying your session is no longer valid, there isn't a lot you can do. It sounds like you should file a bug with Facebook.

Mike

On Oct 24, 2012, at 9:30 AM, Nishant Nigam [email protected] wrote:

Well I'm using offline_access and after logout from my FB account its giving me execetion on application, exception is
<% rescue Mogli::Client::OAuthException, Mogli::Client::HTTPException %>

Your Facebook page access has expired. Please reconnect your account on your restaurant profile page.

<% end %> I also enable offline_access from FB app settings. Any help is appreciate . By the way thanks for your quick reply.

Reply to this email directly or view it on GitHub.

from facebooker2.

nishant-n avatar nishant-n commented on July 17, 2024

No As per my understanding twitter is also using Facebook to post twits to Facebook and Once you connected with facebook in twitter, it don't let you disconnect until you do it by your self.

Thank you for your response, I'm looking into this. If I have any update I'll let you know.

from facebooker2.

mmangino avatar mmangino commented on July 17, 2024

You're assuming they have the same deal. In any case, if you get an error from Facebook, that's outside of what the software does. This is a Facebook issue, not a facebooker issue.

Mike

On Oct 25, 2012, at 2:31 AM, Nishant Nigam [email protected] wrote:

No As per my understanding twitter is also using Facebook to post twits to Facebook and Once you connected with facebook in twitter, it don't let you disconnect until you do it by your self.

Thank you for your response, I'm looking into this. If I have any update I'll let you know.


Reply to this email directly or view it on GitHub.

from facebooker2.

nishant-n avatar nishant-n commented on July 17, 2024

ok, Thanks.

from facebooker2.

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.