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)
Mon, Dec 16, 9:54 PM
Unknown Object (File)
Mon, Dec 16, 9:54 PM
Unknown Object (File)
Mon, Dec 16, 9:54 PM
Unknown Object (File)
Mon, Dec 16, 9:54 PM
Unknown Object (File)
Mon, Dec 16, 9:53 PM
Unknown Object (File)
Nov 23 2024, 2:38 AM
Unknown Object (File)
Nov 22 2024, 11:59 PM
Unknown Object (File)
Nov 21 2024, 8:56 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
Lint Not Applicable
Unit
Tests Not Applicable

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.