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, Jun 21, 1:17 PM
Unknown Object (File)
Mon, Jun 17, 10:30 PM
Unknown Object (File)
Mon, Jun 17, 10:29 PM
Unknown Object (File)
Mon, Jun 17, 1:00 PM
Unknown Object (File)
Sun, Jun 16, 10:02 AM
Unknown Object (File)
Sat, Jun 15, 3:15 AM
Unknown Object (File)
Tue, Jun 11, 2:33 PM
Unknown Object (File)
Tue, Jun 11, 8:17 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
Lint Not Applicable
Unit
Tests Not Applicable

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