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

feat: Adding Farcaster Frames and OG Image #29

Merged
merged 9 commits into from
Mar 15, 2024

Conversation

ChangoMan
Copy link
Contributor

Description

Adds some meta tags to allow for Farcaster Frames when http://scaffoldeth.io is shared in Warpcast.

This code will act as the initial frame and I've also created an updated Open Graph image that matches the Farcaster specs.

When not shared on Farcaster, the og image will still work and fallback to normal behavior. This initial frame links to another frame I've created at:

https://warpcast.com/~/developers/frames?url=https%3A%2F%2Fscaffold-eth-frame.vercel.app%2Fapi

Additional Information

Copy link

vercel bot commented Mar 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
scaffoldeth-io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 15, 2024 3:48pm

Copy link
Member

@carletex carletex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great @ChangoMan thanks!!

left a few comments!

packages/nextjs/public/og-image.png Outdated Show resolved Hide resolved
packages/nextjs/components/MetaHeader.tsx Show resolved Hide resolved
packages/nextjs/components/MetaHeader.tsx Outdated Show resolved Hide resolved
Copy link
Member

@carletex carletex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff @ChangoMan

Thank you!!

@carletex carletex merged commit fc1c64d into scaffold-eth:main Mar 15, 2024
3 checks passed
@ChangoMan ChangoMan deleted the with-frames branch March 20, 2024 01:32
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.

2 participants