Twitter-API-v2-sample-code icon indicating copy to clipboard operation
Twitter-API-v2-sample-code copied to clipboard

Sample code for the Twitter API v2 endpoints

Results 113 Twitter-API-v2-sample-code issues
Sort by recently updated
recently updated
newest added

### Description: I am facing an authentication issue with the Twitter bot using the code from the repository https://github.com/vedicscriptures/twitter_bot/blob/main/main.py. Previously, it used to work without any problems, but now I...

bug

url4 = f"https://api.twitter.com/2/users/by/username/{self.UserByScreenName}?&expansions=pinned_tweet_id&tweet.fields=created_at" i use this url,but didn't return the tweet text ![image](https://user-images.githubusercontent.com/55910045/210207080-7e2231f1-8de8-4bc8-b1e8-a2916014679d.png) but your document case return

bug

**Describe the bug** get_tweets_with_bearer_token.r with specified start and end day does not allow to collect multiple pages as next_token is ignored in the code. **To Reproduce** specify start_time **Expected behavior**...

bug

As my company uses a lot all requests I would like to add some JS examples to this folder

bug

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: **Expected behavior** A clear and concise description of what you...

bug

**Describe the bug** I'm seeing truncated tweet texts, even though I've explicitly filtered out `retweets` in my query. **To Reproduce** ```python import requests import os import json # To set...

bug

**Describe the bug** This error shows when using a new created dev account with either the default project and app or new project and app with the free plan.

bug

This is a just typo fix as the title says.

Module-scope variable "search_url" is used in place of function arg "url" in connect_to_endpoint function (five occurrences). An additional occurence was fixed by PR #38

I fixed the typo in the original code because it was causing an error.