Skip to content

Instantly share code, notes, and snippets.

@kevbook
Last active August 29, 2015 14:13
Show Gist options
  • Save kevbook/6e1c4a1346d1e48b435e to your computer and use it in GitHub Desktop.
Save kevbook/6e1c4a1346d1e48b435e to your computer and use it in GitHub Desktop.
Wanted App
### Auth / Login
* FB login only: Scope = user_about_me,user_birthday,user_education_history,user_location,user_website, user_work_history
* App sends GET request with geo (lat, long) & FB auth_token
* Backend creates a token, app passes in 'X-Session-Token' http header in subsquent requests for authorized user
### On each app start
* send PUT request with updated geo (lat, long) to backend
* GET latest categories (
### On each app start
* send PUT request with updated geo (lat, long) to backend
* GET latest categories from API json (e.g. sales, manager, etc - see screenshot). Cache this in the app for a day maybe.
### Jobs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment