Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Farcaster feed integration #270

Closed
neokry opened this issue Jun 19, 2023 · 2 comments
Closed

Farcaster feed integration #270

neokry opened this issue Jun 19, 2023 · 2 comments

Comments

@neokry
Copy link
Collaborator

neokry commented Jun 19, 2023

overview:

  • Build a farcaster feed that pulls FIP-2 posts for each dao.
  • Utilize the same string reply as warpcaster team so we can query messages from the already implemented purple / builder channels in warpcaster.
  • Allow users to sign in with farcaster and post on the feed

implementation details:

  • Create a new folder in the src/data folder called farcaster. keep all farcaster client setup + requests here.
  • Build farcaster requests to query / post to a DAOs feed using FIP-2 and hubs
  • create a new entry in constants/cacheTimes for feed requests
  • Add a new folder in pages/api called feed
  • Add a new endpoint to pages/api/feed called [id] that calls the farcaster requests and caches the data similar to api/dao endpoints
  • Add a new folder in modules/dao/components called Feed that holds all feed components
  • Implement feed components that show DAO feed posts and allows users to post to the feed based off mocks from @isaaczaak . Use SWR to query feed data from /api/feed/[id] where id is the FIP-2 string we want to query posts from
  • Add a new section to pages/dao/[token]/[tokenid] called feed that links out to the feed component
@isaaczaak
Copy link
Collaborator

isaaczaak commented Jun 21, 2023

user story

  • as a user, i want to see a feed of fellow DAO members on farcaster, so that i can follow onchain activity and connect with them

acceptance criteria

  • given that i want to see a farcaster feed on Nouns, when i am on a DAO page, then I can navigate to the Farcaster feed

risks & dependencies

  • Do we need to host our own hub? To get started, we could work on someone else's hub.

in scope

  • Feed tab
  • Read-only feed
  • User ID/Farcaster, pfp, cast content, time since

out of scope

  • interaction e.g. recast, casting, liking etc.

@isaaczaak
Copy link
Collaborator

shipped #284

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants