Comments (12)
Tokens expire. Can you explain what you expect to see and what is actually happening?
from facebooker2.
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.
That's not how Facebook works. The expiration happens on the Facebook side. Take a look at their documentation for the flow.
from facebooker2.
Ok I'll update you with proper errors!!
from facebooker2.
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.
Should I submit a new issue?
from facebooker2.
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.
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.
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.
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.
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.
ok, Thanks.
from facebooker2.
Related Issues (20)
- oauth based login with facebooker2 passing app_id for all values HOT 7
- how to find out if user has logged out of FB? HOT 7
- Dependency on mogli 0.0.33 HOT 2
- Errno::ETIMEDOUT: Connection timed out - connect(2) HOT 4
- rails 3 escapes output (needs .html_safe) HOT 8
- OAuth2 not working HOT 8
- Make it really default to oauth2 HOT 1
- undefined method `reset_key' for nil:NilClass HOT 1
- login rendering twice HOT 1
- hashie dependency HOT 2
- IE issues ? HOT 3
- IE8: Unable to get value of the property 'appendChild': object is null or undefined HOT 2
- gsub exception in Rails 3.2.3 HOT 1
- 40-80 sec. wait for current_facebook_user on one app HOT 2
- current_facebook_user get error "This authorization code has been used." HOT 12
- undefined method `tr' for nil:NilClass
- cannot login to FB HOT 2
- Facebook live api HOT 1
- End
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebooker2.