Quickstart
Send your first GraphQL query and get a FeedSpring feed back as JSON.
This query returns the first fields needed to render an Instagram feed:
query Feed($publicKey: String!) {
feed(publicKey: $publicKey) {
__typename
... on InstagramFeedData {
profile {
username
fullName
avatar {
url(input: { width: 160, height: 160 })
}
}
posts {
nodes {
id
caption
url
image {
url(input: { width: 800 })
}
}
}
}
}
}Choose a language and replace inst_YOUR_FEED_ID with your Feed ID:
Install the requests package before running this example.
A successful response has the standard GraphQL shape:
Next steps
Querying Feeds — how feed types, fragments and
nodesworkImages — request image sizes that match your layout
Errors — handle errors and empty states
Queries for each source: Instagram, Google Reviews, TikTok, Dribbble
Last updated