We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#Methods
###POST /api/auth
Body:
{ Name: string, PictureUrl: string, ProfileLink: string, FacebookId: int }
"Authenticates". Needs to be done before using the FacebookId.
###GET /api/posts?latitude=<float>&longitude=<float>&range=<float>[&userFacebookId=<int>]
Gets all posts using a super-simple algorithm.
###GET /api/posts/<int>
Gets the post with the specified ID.
###POST /api/posts/add
{ UserFacebookId: int, Title: string, Content: string, Location: { Latitude: float, Longitude: float, DisplayName: string } }
Adds a new post.
###DELETE /api/posts
{ UserFacebookId: int, PostId: int }
Deletes the specified post (only if the user created it, of course)
###POST /api/posts/upvote
Upvotes the specified post.
###DELETE /api/posts/upvote
Removes an upvote from the specified post.