SECTION VIDEONewsfeed APIs
COMING SOONVideo coming soon. Start with the reading below.
The news feed APIs are the primary ways for clients to communicate with servers. Those APIs are HTTP based that allow clients to perform actions, which include posting a status, retrieving news feed, adding friends, etc. We discuss two most important APIs: feed publishing API and news feed retrieval API.
Feed publishing API To publish a post, a HTTP POST request will be sent to the server. The API is shown below:
POST /v1/me/feed Params:
- content: content is the text of the post.
- auth_token: it is used to authenticate API requests.
Newsfeed retrieval API The API to retrieve news feed is shown below:
GET /v1/me/feed Params:
- auth_token: it is used to authenticate API requests.
Progress is saved on this device.