Public posts
const url = 'https://api.gampeon.com/v1/posts?limit=30';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.gampeon.com/v1/posts?limit=30'With author: posts of one account, studio or game that you can see (audience, blocks). On the first page a pinned post comes separately in pinned and is left out of posts. Without author: news from all studios and games (not from single accounts).
Not available with access tokens.
Authorizations
Section titled “Authorizations”- None
- session
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”user:HANDLE, studio:SLUG or project:SLUG
Cursor next from the previous page
Page size, 1 to 50 (default 30)
Responses
Section titled “Responses”Posts, newest first
object
object
Plain text, up to 1,000 characters. Can be empty for photo and GIF posts and shares.
Unix time in milliseconds
Who can see it. Studio and game posts are always public
Up to 4 photos
object
Image path relative to the API (/v1/media/…)
object
Host without www.
Page title (og:title or
Mentioned handles that exist
Who can comment, as it applies (under 16: at most friends)
Pinned to the top of the timeline
object
All reactions together
Up to three most frequent reactions, most frequent first (for the icons)
Number per reaction, only reactions that occur
object
All reactions (older field)
Whether you reacted (older field)
The two newest top-level comments, oldest first
object
Plain text, up to 1,000 characters. Can be empty if there is a GIF
Unix time in milliseconds
Mentioned handles that exist (@handle in the text)
object
All reactions together
Up to three most frequent reactions, most frequent first (for the icons)
Number per reaction, only reactions that occur
object
Replies (top-level comments only)
You wrote it or manage the post
Whether you may delete it
object
Plain text, up to 1,000 characters. Can be empty for photo and GIF posts and shares.
Unix time in milliseconds
Who can see it. Studio and game posts are always public
Up to 4 photos
object
Image path relative to the API (/v1/media/…)
object
Host without www.
Page title (og:title or
Mentioned handles that exist
Who can comment, as it applies (under 16: at most friends)
Pinned to the top of the timeline
object
All reactions together
Up to three most frequent reactions, most frequent first (for the icons)
Number per reaction, only reactions that occur
object
All reactions (older field)
Whether you reacted (older field)
The two newest top-level comments, oldest first
object
Plain text, up to 1,000 characters. Can be empty if there is a GIF
Unix time in milliseconds
Mentioned handles that exist (@handle in the text)
object
All reactions together
Up to three most frequent reactions, most frequent first (for the icons)
Number per reaction, only reactions that occur
object
Replies (top-level comments only)
You wrote it or manage the post
Whether you may delete it
Example
{ "pinned": { "author": { "type": "user" }, "audience": "public", "commentMode": "everyone", "reactions": { "top": [ "like" ] }, "myReaction": "like", "latestComments": [ { "reactions": { "top": [ "like" ] }, "myReaction": "like" } ] }, "posts": [ { "author": { "type": "user" }, "audience": "public", "commentMode": "everyone", "reactions": { "top": [ "like" ] }, "myReaction": "like", "latestComments": [ { "reactions": { "top": [ "like" ] }, "myReaction": "like" } ] } ]}Error codes: token_not_allowed
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}Error codes: not_found
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}