You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.
I use your amazing software but in the last days i have a problem posting status in facebook
Traceback (most recent call last):
File "/opt/mis_scripts/publicarenfacebook", line 103, in
fbconsole.post('/me/feed', {'message': cadena})
File "build/bdist.linux-x86_64/egg/fbconsole.py", line 763, in post
File "build/bdist.linux-x86_64/egg/fbconsole.py", line 667, in post
File "build/bdist.linux-x86_64/egg/fbconsole.py", line 280, in _safe_json_load
File "build/bdist.linux-x86_64/egg/fbconsole.py", line 277, in _safe_url_load
fbconsole.OAuthException: Error validating access token: Session has expired on Thursday, 07-May-15 03:00:00 PDT. The current time is Thursday, 07-May-15 04:30:19 PDT.
i actualize the token but appears the same message
when i try the other authentication it says
Traceback (most recent call last):
File "8txt2facebook2", line 19, in
redirect_uri
File "build/bdist.linux-x86_64/egg/fbconsole.py", line 413, in automatically_authenticate
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 524, in select_form
mechanize._mechanize.FormNotFoundError: no form matching nr 0
thanks for your answer!
The text was updated successfully, but these errors were encountered:
fbconsole automatically read and use the token found in a file called ".fb_access_token", if such file exists in the current directory. This is the recommended way to supply an access token without having to authenticate manually. Note that it reads from the environment's current directory, not the directory where fbconsole module is located.
Setting the global variable fbconsole.ACCESS_TOKEN works but will be overwritten by any token found in that file.
PREV COMMENT DELETED. Was wrong sorry.
Not 37-related. Auth, Mechanize & Expiring Tokens...
psineur
changed the title
Problem posting status in facebook
[Blocked by 37] Problem posting status in facebook
May 15, 2015
psineur
changed the title
[Blocked by 37] Problem posting status in facebook
Expired Token kills fbconsole (Original Title: "Problem posting status in facebook")
May 15, 2015
My current suggestion would be to delete .fb_access_token from directory.
But we want to do something with expiring tokens.
Graph Explorer has Refresh functionality for this, but if you using mechanize - simple re-auth with browser poping up again may be not a solution for you.
@el3ctron Could you please share the scenario, how you're using fbconsole, so we can come up with something that will work the best for your case?
Thanks!
psineur
changed the title
Expired Token kills fbconsole (Original Title: "Problem posting status in facebook")
[Related to #25] Expired Token kills fbconsole (Original Title: "Problem posting status in facebook")
May 15, 2015
Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I use your amazing software but in the last days i have a problem posting status in facebook
Traceback (most recent call last):
File "/opt/mis_scripts/publicarenfacebook", line 103, in
fbconsole.post('/me/feed', {'message': cadena})
File "build/bdist.linux-x86_64/egg/fbconsole.py", line 763, in post
File "build/bdist.linux-x86_64/egg/fbconsole.py", line 667, in post
File "build/bdist.linux-x86_64/egg/fbconsole.py", line 280, in _safe_json_load
File "build/bdist.linux-x86_64/egg/fbconsole.py", line 277, in _safe_url_load
fbconsole.OAuthException: Error validating access token: Session has expired on Thursday, 07-May-15 03:00:00 PDT. The current time is Thursday, 07-May-15 04:30:19 PDT.
i actualize the token but appears the same message
when i try the other authentication it says
Traceback (most recent call last):
File "8txt2facebook2", line 19, in
redirect_uri
File "build/bdist.linux-x86_64/egg/fbconsole.py", line 413, in automatically_authenticate
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 524, in select_form
mechanize._mechanize.FormNotFoundError: no form matching nr 0
thanks for your answer!
The text was updated successfully, but these errors were encountered: