R1:9be054443fe5
R1:9be054443fe5
Handle refreshing profile image with expired OAuth token
Summary:
If OAuth token is expired then refreshing profile image doesn't work.
This diffs solves it this way:
- Hide Refresh Profile Image button with expired token.
- Display Refresh Token with expired token.
- Update token after logging-in.
Test Plan:
Wait until token expires.
/settings/page/facebook/ - no Refresh Profile Image button.
Refresh Token.
Refresh Profile Image.
Reviewers: epriestley, jungejason
Reviewed By: epriestley
CC…
Summary:
If OAuth token is expired then refreshing profile image doesn't work.
This diffs solves it this way:
- Hide Refresh Profile Image button with expired token.
- Display Refresh Token with expired token.
- Update token after logging-in.
Test Plan:
Wait until token expires.
/settings/page/facebook/ - no Refresh Profile Image button.
Refresh Token.
Refresh Profile Image.
Reviewers: epriestley, jungejason
Reviewed By: epriestley
CC…
Repository: R1 hydra
Commit Date: Apr 19 2012