Documentation Index
Fetch the complete documentation index at: https://docs.neynar.com/llms.txt
Use this file to discover all available pages before exploring further.
API endpoint
This tutorial uses the GET v2/feed endpoint
Fetch feed for a user easily with Neynar SDK
In this example, we will try to get rish’s feed who’s fid is 194. If you know someone’s username, you can find their fid from our user endpoint.Ensure you have the right environment setup
Make sure to have node.js, typescript (ts) and yarn installed on your machine- Install node.js and npm
- Install yarn
- Install ts-node globally
Create a new typescript file with the right imports
Initialize the client
Call fetchFeedPage function to get feed
Run your new .ts file
- Navigate to the right folder in your terminal e.g.
cd ./test-sdk - Run script by typing
yarn startinto the terminal