Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[DB MIGRATION REQ'D] Alert user about expired Facebook tokens
As of July 5th, 2012, Facebook removed the offline_access permission. Instead, it automatically expires OAuth tokens after 60 days (for server-side apps like ThinkUp) and requires users to re-authorize to extend the application's rights for another 60 days. More info: https://developers.facebook.com/roadmap/offline-access-removal/ https://developers.facebook.com/docs/authentication/access-token-expiration/ https://developers.facebook.com/blog/post/2011/05/13/how-to--handle-expired-access-tokens/ As of this commit, ThinkUp now: * Tracks service authorization errors in the new tu_owner_instances.auth_error field * Throws APIOAuthException when Facebook token is not valid during data capture * Alerts user when Facebook OAuth tokens have expired via email and in an error message on the service user dashboard * Does not crawl Facebook instances which have expired tokens * Resumes data capture when user has re-authorized their account Closes #1349
- Loading branch information
1 parent
67ae631
commit d5252dd
Showing
22 changed files
with
394 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.