HomePhorge

Handle refreshing profile image with expired OAuth token

Description

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: michalburger1, aran, Koolvin

Differential Revision: https://secure.phabricator.com/D2281

Details

Provenance
vranaAuthored on Apr 18 2012, 9:30 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP204b6694af1a: Improve performance of empty search
Branches
Unknown
Tags
Unknown

Event Timeline