Page MenuHomePhabricator

[lib] introduce fetchFarcasterChannelInfo to neynar client class
ClosedPublic

Authored by ginsu on May 13 2024, 11:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 7:32 PM
Unknown Object (File)
Oct 13 2024, 4:52 AM
Unknown Object (File)
Oct 13 2024, 4:52 AM
Unknown Object (File)
Oct 13 2024, 4:52 AM
Unknown Object (File)
Oct 13 2024, 4:51 AM
Unknown Object (File)
Oct 13 2024, 4:51 AM
Unknown Object (File)
Oct 10 2024, 2:21 PM
Unknown Object (File)
Oct 4 2024, 8:59 AM
Subscribers

Details

Summary

In the communities table we store the farcaster channel id. We need to use that id to fetch the channel info so we can display the channel name to the user. Neynar has an endpoint for this and this diff introduces the function that calls this neynar endpoint and fetches the channel info

Neynar docs: https://docs.neynar.com/reference/channel-details

Depends on D12027

Test Plan

Passed in several channel ids to this method and confirmed that I was getting the correct response back

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu retitled this revision from [lb] introduce fetchFarcasterChannelInfo to neynar client class to [lib] introduce fetchFarcasterChannelInfo to neynar client class.May 13 2024, 11:46 PM
ginsu added a reviewer: ashoat.
ginsu edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.May 14 2024, 9:38 AM