Skip to content

Add curl examples to social media guide#131

Merged
em3s merged 1 commit intomainfrom
docs/add-curl-examples-to-social-guide
Jan 26, 2026
Merged

Add curl examples to social media guide#131
em3s merged 1 commit intomainfrom
docs/add-curl-examples-to-social-guide

Conversation

@em3s
Copy link
Copy Markdown
Contributor

@em3s em3s commented Jan 26, 2026

Summary

Add collapsible curl command examples to the social media guide, providing REST API alternatives alongside CLI commands.

Changes

  • Add curl examples in <details> sections for 6 operations:
    • Follow a user (POST mutation)
    • Check follow status (GET edge)
    • Count followers (GET count)
    • List followers (GET scan)
    • Like a post (POST mutation)
    • Check like status (GET edge)
  • Fix MDX indentation issues in <details> blocks

How to Test

  1. Run the website locally: cd website && npm run dev
  2. Navigate to the "Build Your Social Media App" guide
  3. Verify curl examples appear in collapsible sections
  4. Verify the page renders without MDX errors

Add collapsible curl command examples alongside CLI commands for:
- Follow a user (POST mutation)
- Check follow status (GET edge)
- Count followers (GET count)
- List followers (GET scan)
- Like a post (POST mutation)
- Check like status (GET edge)

This allows users to see REST API alternatives to CLI commands.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. documentation Improvements or additions to documentation labels Jan 26, 2026
@em3s em3s merged commit 0076118 into main Jan 26, 2026
10 checks passed
@em3s em3s self-assigned this Jan 26, 2026
@em3s em3s changed the title docs(website): add curl examples to social media guide Add curl examples to social media guide Feb 12, 2026
@em3s em3s deleted the docs/add-curl-examples-to-social-guide branch March 1, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant