Skip to content

Add "Read data with Farcaster Auth" guide #403

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

VolodymyrBg
Copy link

@VolodymyrBg VolodymyrBg commented Mar 1, 2025

This PR adds a new guide that shows how to read data from the Farcaster network after authenticating a user with Farcaster Auth. The guide includes:

  • Setting up a React application with Farcaster Auth Kit
  • Authenticating users with the SignInButton component
  • Displaying user profile information after authentication
  • Fetching and displaying the user's recent casts from a Farcaster Hub

This implementation resolves one of the TODO items in the documentation navigation.


PR-Codex overview

This PR focuses on adding a new guide for reading data with Farcaster Auth, enhancing the documentation and providing a detailed tutorial for creating a React application that authenticates users and fetches their profile information and recent casts.

Detailed summary

  • Updated docs/.vitepress/config.mts to include a link to the new guide.
  • Created docs/developers/guides/apps/read-with-auth.md with:
    • Introduction to reading data with Farcaster Auth.
    • Prerequisites for setting up the application.
    • Step-by-step instructions for creating a React app.
    • Code examples for App.jsx and UserCasts.jsx components.
    • Explanation of how the application works and next steps for enhancements.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Mar 1, 2025

@VolodymyrBg is attempting to deploy a commit to the farcaster Team on Vercel.

A member of the Team first needs to authorize it.

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

Successfully merging this pull request may close these issues.

1 participant