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

Fix Twitter API Endpoint for User Data Retrieval #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

haloxtradee
Copy link

PR Description:
This PR fixes the Twitter API endpoint used for retrieving user data. The previous endpoint https://api.twitter.com/2/users/me was incorrect and has been updated to https://api.twitter.com/2/me.

Changes Made:

Corrected the Twitter API endpoint to ensure proper user authentication and data retrieval. Improved error handling by checking response status before parsing JSON to avoid potential issues with invalid responses. Added more informative error logging for easier debugging.

Description

Example:
This pr adds user login function, includes:

    1. add user login page.
    1. ...

Test Plan

Example:

    1. Use different test accounts for login tests, including correct user names and passwords, and incorrect user names and passwords.
    1. ...

Related Issue

Example: Issue #123

Notes

  • Example: Links and navigation need to be added to the front-end interface

PR Description:
This PR fixes the Twitter API endpoint used for retrieving user data. The previous endpoint https://api.twitter.com/2/users/me was incorrect and has been updated to https://api.twitter.com/2/me.

Changes Made:

Corrected the Twitter API endpoint to ensure proper user authentication and data retrieval.
Improved error handling by checking response status before parsing JSON to avoid potential issues with invalid responses.
Added more informative error logging for easier debugging.
Copy link

vercel bot commented Aug 27, 2024

@haloxtradee is attempting to deploy a commit to the Story Protocol 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