Page MenuHomePhabricator

[lib] add post cast to neynar client
ClosedPublic

Authored by will on Oct 23 2024, 11:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 2:38 AM
Unknown Object (File)
Fri, Nov 22, 11:59 PM
Unknown Object (File)
Thu, Nov 21, 8:56 AM
Unknown Object (File)
Thu, Nov 21, 8:22 AM
Unknown Object (File)
Mon, Nov 18, 4:37 PM
Unknown Object (File)
Sat, Nov 16, 3:42 PM
Unknown Object (File)
Thu, Nov 14, 5:18 PM
Unknown Object (File)
Thu, Nov 14, 7:09 AM
Subscribers

Details

Summary

This implements posting a cast using the neynar client.

Followed https://docs.neynar.com/reference/post-cast almost exactly.

Depends on D13783

Test Plan

Unfortunately, something seems to be wrong with the signer uuid configured in our comm neynar account. Debugging, but will ensure a reply cast is properly posted bofore landing

[NODEM]   code: 'NotFound',
[NODEM]   message: 'Signer not found.',
[NODEM]   property: 'signer_uuid'
[NODEM] }

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

will published this revision for review.Oct 23 2024, 11:52 PM
will edited the test plan for this revision. (Show Details)
will edited the test plan for this revision. (Show Details)
ashoat added inline comments.
lib/utils/neynar-client.js
384–386 ↗(On Diff #45367)

Nit: not sure this variable adds much?

This revision is now accepted and ready to land.Oct 24 2024, 6:23 AM

fix nit

lib/utils/neynar-client.js
384–386 ↗(On Diff #45367)

Fixed nit in latest rebase

This revision was automatically updated to reflect the committed changes.