Skip to content

Instantly share code, notes, and snippets.

@rjonesy
Created July 2, 2018 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjonesy/e1c5aff2e3b40bfcb429382d34c4a0f1 to your computer and use it in GitHub Desktop.
Save rjonesy/e1c5aff2e3b40bfcb429382d34c4a0f1 to your computer and use it in GitHub Desktop.
Profile Photo App
Twitter:
https://developer.twitter.com/en/docs/accounts-and-users/user-profile-images-and-banners.html
Facebook:
https://developers.facebook.com/docs/graph-api/reference/user/picture/
LinkedIn:
https://developer.linkedin.com/docs/fields/basic-profile
https://stackoverflow.com/questions/6955647/getting-linkedin-profile-picture
Google+:
https://developers.google.com/admin-sdk/directory/v1/reference/users/photos/get
Github:
https://github.com/sindresorhus/refined-github/issues/95#issuecomment-204806394
Potential Problems:
1. Facebook api rate limits, it looks reasonably high though?
2. LinkedIn appears to be easy, but I’ve never seen an app use it, something fishy is up, SO comments saying 100x100 is best available
App Parts:
1. Authorization Screen - auth with all networks and iOS contacts
2. Processing Screen - show progress
3. Results Screen - show contact name, then every avatar below in a row, allow tap selection of any 1 avatar per row
4. Apply Screen - applies selected photos to contacts and show progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment