Tweetmark
Navigating through your bookmarks is such a chore. With Tweetmark, we make that chore a delight and more.
Authentication
GETLogin
https://tweetmark.acel.dev/api/users/twitter_login/
This redirects to a twitter-generated login page for them to grant our app access to their account.
We then store the tokens gotten in the DB and redirect to our frontend authenticate page passing their user_id alongside it.
Example Request
Login
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
POSTToken Refresh
https://tweetmark.acel.dev/api/users/token_refresh/
Returns a new access token.
Bodyraw (json)
Example Request
Token Refresh
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
GETGet User Details
https://tweetmark.acel.dev/api/users/user_details/
Returns the details of the user's twitter account. Specifically:
- name
- username
- id
- profile_image_url
HEADERS
Authorization
Example Request
Get User Details
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
GETSyncronize Author Details
https://tweetmark.acel.dev/api/users/syncronize_author_details/
Twitter users very often change their details like name, username, profile picture etc. And this can be an hindrance when searching for a bookmark.
This endpoint updates the user details of every tweet that has been bookmarked by the given user.
HEADERS
Authorization
Example Request
Syncronize Author Details
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers