Page MenuHomePhabricator

[lib] use v2 relevant followers API to find farcaster friends
ClosedPublic

Authored by varun on Mon, Sep 30, 3:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 2, 1:43 AM
Unknown Object (File)
Tue, Oct 1, 7:35 PM
Unknown Object (File)
Tue, Oct 1, 4:30 PM
Unknown Object (File)
Tue, Oct 1, 4:28 PM
Unknown Object (File)
Tue, Oct 1, 11:40 AM
Unknown Object (File)
Tue, Oct 1, 11:40 AM
Unknown Object (File)
Tue, Oct 1, 11:39 AM
Unknown Object (File)
Tue, Oct 1, 11:36 AM
Subscribers

Details

Summary

this API returns what we want -- farcaster mutuals. and it seems to work pretty consistently, unlike the paginated v1 followers API.

Test Plan

successfully got back farcaster mutuals for dwr.eth (fid 3), who has a ton of followers

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

also confirmed that threads are created with farcaster mutuals who are also on comm

varun published this revision for review.Mon, Sep 30, 3:56 PM
This revision is now accepted and ready to land.Mon, Sep 30, 3:59 PM
ashoat requested changes to this revision.Mon, Sep 30, 4:42 PM
ashoat added inline comments.
lib/utils/neynar-client.js
10–11 ↗(On Diff #44702)

Read-only

74–75 ↗(On Diff #44702)

How could this possibly work if you're not taking the viewer's FID into account?

This revision now requires changes to proceed.Mon, Sep 30, 4:42 PM

Never mind, sorry – the viewer's FID is the only input taken

lib/utils/neynar-client.js
74–75 ↗(On Diff #44702)

Oops sorry

This revision is now accepted and ready to land.Mon, Sep 30, 4:43 PM

(Please make read-only before landing)