Content
@
https://opensea.io/collection/neynar-1
0 reply
0 recast
0 reaction
Avneesh
@avneesh
We recently launched the react SDK, do you know you can create a Farcaster client using it in a few minutes? Check out this guide to learn more 🪐 https://docs.neynar.com/docs/how-to-create-a-client#building-the-channels-list-and-channel-feed
2 replies
3 recasts
17 reactions
Ghostlinkz
@ghostlinkz.eth
I just tested this out and got everything running, but I noticed that the main feed and channel-based feeds don't load more content when you scroll further down. Doing this also it seems to trigger a large number of API calls (I checked my usage on the Neynar website). Also, what version of the theme are you using in the screenshot? My app shows a white background regardless of whether I use Theme.Dark or Theme.Light. I assume I would need to clone the Neynar React repo to customize the theme? I also noticed that frames aren't integrated in this example, as they don't load inside casts that appear in the feed. Where can I find instructions on setting this up? The link github.com/neynarxyz/react/tree/main?tab=readme-ov-file#neynarframecard only explains how to render a frame card as a standalone component, like NeynarFeedList
1 reply
0 recast
1 reaction
dylan
@dylsteck.eth
hey @ghostlinkz.eth, happy to help and also take some feedback here! - can look into why this would be making repeated requests, you just mean viewing the feed list out of the box? - I think the black background was set by the Next.js app but if you set the theme light/dark in the NeynarProvider and also add our css file to the root of your layout the theme should show up properly - also frames aren't in this example but you can use them with our React sdk, linking some guides here https://neynar-react.vercel.app/?path=/story/neynarcastcard--cast-with-frame https://github.com/neynarxyz/farcaster-examples/tree/main/wownar-react-sdk#neynarframecard-write-actions
2 replies
0 recast
0 reaction
Ghostlinkz
@ghostlinkz.eth
And just to clarify, does the example include pagination for the feeds? When I reach the end, it says "loading" but no new casts are being loaded. This happens on both the home feed and individual channel feeds
0 reply
0 recast
0 reaction
Ghostlinkz
@ghostlinkz.eth
> you just mean viewing the feed list out of the box? Yes, no custom work, just out of the box based on the guide @avneesh linked in the root cast. This example was eating up way more of my usage compared to another client i built using just the Neynar API. > but if you set the theme light/dark in the NeynarProvider and also add our css file to the root of your layout the theme should show up properly Which css file are you referring to, can you please provide if a link? > also frames aren't in this example but you can use them with our React sdk, linking some guides here Thanks for the guide, i’ll give it a try and let you know how it goes. It would be great if the example also included frames integration, since they’re such a big part of the Farcaster experience
0 reply
0 recast
0 reaction