Skip to content

feat: add email support via confirmed_email field (rebased from current main)#13

Merged
unasuke merged 3 commits intomainfrom
add-email-support
Mar 11, 2026
Merged

feat: add email support via confirmed_email field (rebased from current main)#13
unasuke merged 3 commits intomainfrom
add-email-support

Conversation

@unasuke
Copy link
Copy Markdown
Owner

@unasuke unasuke commented Mar 11, 2026

What

Close #10

rossshannon and others added 3 commits March 12, 2026 00:14
Twitter/X added email support to OAuth 2.0 API v2 in April 2025 via the
confirmed_email field. This commit:

- Adds confirmed_email to user.fields in the /2/users/me API request
- Uses confirmed_email in the info hash instead of hardcoding nil

Requires users.email scope to be requested by the application.

See: https://devcommunity.x.com/t/announcing-support-for-email-address-retrieval-with-oauth-2-0-in-the-x-api-v2/240555
- Add reference link to X Developer Community announcement
- Revert bullet formatting to use asterisks (*)
- Remove fork-specific installation instructions
Fix support for Rubies < 3.0

Co-authored-by: Yusuke Nakamura <unasuke@users.noreply.github.com>
@unasuke unasuke marked this pull request as ready for review March 11, 2026 15:56
@unasuke unasuke merged commit 1a7be21 into main Mar 11, 2026
7 checks passed
@unasuke unasuke deleted the add-email-support branch March 11, 2026 15:57
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