Page MenuHomePhabricator

[lib] add post cast to neynar client
ClosedPublic

Authored by will on Wed, Oct 23, 11:43 PM.
Tags
None
Referenced Files
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
Unknown Object (File)
Wed, Nov 13, 2:57 PM
Unknown Object (File)
Wed, Nov 13, 4:10 AM
Unknown Object (File)
Tue, Nov 12, 12:45 PM
Unknown Object (File)
Sun, Nov 10, 7:44 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.Wed, Oct 23, 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.Thu, Oct 24, 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.