Questions tagged [twitter]

Twitter is a microblogging service that lets users post short "Tweets" of up to 280 characters. These can also be posted via its API (https://developer.twitter.com).

-1
votes
0answers
12 views

How to get a link to download videos on Twitter in all sizes in node.js

I apply node.js to download videos from social media sites and I was able to download videos from YouTube and Facebook but I could not do this via Twitter. Some libraries have already used the node ...
0
votes
0answers
11 views

Tweepy Bot not filtering users

Why is my bot retweeting tweets from users in the banned user list? Its should be filtering out any tweets by users in the banned user list and prevent the tweet using words in the banned words list ...
0
votes
0answers
18 views

Autentication error using google script to search twitter usernames

I've been using the following google script to follow twitter users, which works fine. var twitterKeys= { TWITTER_CONSUMER_KEY: "xxx", TWITTER_CONSUMER_SECRET: "xxxx", TWITTER_ACCESS_TOKEN: "xxxx",...
-1
votes
0answers
4 views

Twitter Api | Search users with more than X followers

I'd like to use Twitter API to retrieve a list of users with more than a range of followers in specific location. I understand that it can be done using users/search using query parameters but I can'...
-1
votes
0answers
13 views

How to make simple customized facebook share link

Recently I have been working on share links of facebook, twitter, blogger to use them in my website and spent half of my day flipping through every page in the internet. Most of them are showing ...
0
votes
0answers
18 views

How to fix a Kafka error “IOException caught when establishing connection to https://stream.twitter.com” in Java?

Using Kafka, I am trying to stream data from twitter into Java, but when I run the program I am getting this error: [hosebird-client-io-thread-0] WARN com.twitter.hbc.httpclient.ClientBase - Hosebird-...
0
votes
1answer
15 views

Analyze Twitter friends without exceeding rate limit

How can I analyze a list of followers (or following), and count the number users with a following/follwer ratio of < .2 without it taking forever with the API limits? This is the code I'm using to ...
-3
votes
0answers
16 views

Twitter & Instagram API Implementation

I have multiple Instagram and Twitter Account. How to get every account followers,likes,posts,tweets,followings etc using Node Js. Thanks in advance.
0
votes
0answers
12 views

GET number of mentions for a particular account for a certain time period?

I am creating a dashboard to measure user engagement for various Twitter accounts as part of a research project. A large contributor to user engagement is the number of times a user is mentioned on ...
0
votes
0answers
12 views

Load Tweets live to be displayed on front-end

I'm setting up a server using firebase and want to load Tweets dynamically/live from Twitter by filtering them by hashtags. Basically what I want to do is integrate a live feed of sorts from twitter ...
0
votes
0answers
11 views

Twitter Rate Limits exploited by other user's third party app, even On twitter Native App? Bug or Feature?

Seems like Today is real case of Monday blues. Yesterday The group I was part in twitter direct message have hour-long interesting discussion. And suddenly in morning 5 AM when I wake up I was not ...
0
votes
0answers
31 views

Event handler when a user tweets or while true?

I'm trying to create a bot where a user enters a specific command, for example, to remind them to do something in the future. I would like it to notify the bot whenever a person tweets to it. Is there ...
-3
votes
0answers
31 views

how can i get following list of a user by tweepy and twitter api

i want to get a twitter user following list (them screen name) by twitter API but tweepy have no any models for it have you any suggestion code for it? for followers tweepy have a api also for ...
1
vote
1answer
35 views

How to webscrape nested div and ol classes

I am trying to scrape this webpage. I am looking to download some photos from the 'photo-stream container', but without any success. Below is the codeblock I am currently working with. Looking for ...
0
votes
1answer
16 views

How to post a tweet with an image to a website without including the URL in the tweet body?

I used Feedburner to automatically tweet new posts on my blog, but Feedburner stopped working and I want to write my own code to do the same. The Feedburner tweets looked like this: the post title ...
0
votes
0answers
15 views

Twitter share button for text with image

I have a website with one image and I want place in it button for sharing this image on twitter I am trying this code <a href="#" data-href="https://twitter.com/share?text=some_text.&amp;url=...
-1
votes
0answers
4 views

Twitter follow button through API [duplicate]

Is it possible to add custom CSS and js to the twitter follow button we get from the Twitter-oath API using the twitteroath PHP library
0
votes
1answer
16 views

I'm trying to find a way to embed a twitter timeline in my NativeScript app. WebView/HTMLView?

I'm trying to include a section of my NativeScript app that includes a (hopefully) real-time twitter timeline. I can't get any tweets to show. I'm using NativeScripts 'webview' to bring in some HTML....
-4
votes
0answers
23 views

Is there a way to make a bot that would automatically post a tweet on my page when I go live on twitch?

Is there a way to have a tweet automatically send out from my account when I go live on Twitch?
0
votes
0answers
7 views

Approach to get “Trending Topics” for “finance” category

We are presently looking for ways to get "Trending Topics" in general for "finance" domain. As part of this exercise we were looking at Twitter as one of the potential source. I see that Twitter ...
1
vote
1answer
53 views

How to determine which words have high predictive power in Sentiment Analysis?

I am working on a classification problem with Tweeter data. User labeled tweets (relevant, not relevant) are used to train a machine learning classifier to predict if an unseen tweet is relevant or ...
-1
votes
0answers
30 views

Error in sharing on Twitter from my iOS app

We are using UIActivityViewController in our app for sharing info but when we try to share some information on Twitter, we get an error “Twitter failed to send”.
0
votes
0answers
19 views

Twitter bot streaming [closed]

I was following the twitter bot tutorial from coding train ( https://www.youtube.com/watch?v=RF5_MPSNAtU&list=PLRqwX-V7Uu6atTSxoRiVnSuOn6JHnq2yV ) that uses the Twit npm package but both the video ...
0
votes
0answers
9 views

How does Twitter sdk allows to fetch first name and last name of the user?

I am using Twitter sdk in my iOS and Android application. I am not able to fetch first and last name. However, I am able to separate username. Username can be anything whereas first and last name ...
0
votes
1answer
27 views

Problem at tweeting with ESP8266 via Thingspeak

I programmed my ESP8266 to read the soil moisture. Depending on the moisture a water pump gets activated. Now I wanted the ESP to tweet different sentences, depending on the situation. Therefore I ...
0
votes
0answers
8 views

Get images with Axios from API and save as files [duplicate]

Good morning, for my new website, I will display my recent tweets on the homepage. I'm already getting the tweet information, but I would like to save the author images from quoted tweets locally, so ...
-2
votes
0answers
12 views

Way of download all favorited tweets in twitter

Is there any way of download all my tweets I mark as "favorite" status? (star symbol)? I prefer script over web applications. If not, how can I use Twitter API for that. In the browser, I get "215 - ...
0
votes
0answers
35 views

How to judge whether the browser is twitter?

How to judge whether the browser is twitter? I have tried to alert the userAgent in twitter. In Android,the UA contains the "Twitter", but in IOS,UA shows nothing about "Twitter". And how I can do to ...
0
votes
0answers
24 views

What Python code is used to consume Twitter webhooks for mentions? [closed]

I am programming a Twitter bot that replies to mentions. Twitter has a webhook functionality for mentions that I want to use when replying. What Python code is used to consume this?
0
votes
0answers
15 views

Cannot Translate Twitter API Search Results using Google Translate API

I'm learning python and trying to get tweets using Twitter API. I intend to do sentiment analysis on the search results, but it seems that the vaderSentiment library for sentiment analysis only ...
0
votes
0answers
12 views

How to generate oauth_token from twitter request token API

I'm creating an app in which I need to post tweets in twitter on behalf of different users. So, I using Application User authentication. For me to redirect the user to twitter page to provide access I ...
2
votes
0answers
44 views

Create new tweet wigh Google Script

(I have read already the solution given in Tweet using Google Script but it doesn't work for me. Please don't delete this question.) Page https://ctrlq.org/code/19995-google-script-to-twitter shows a ...
1
vote
0answers
47 views

Requesting Twitter api with OAuth 1.0

I'm trying to use Twitter's friends list api and was successful to do so without any parameters. However whenever I add a parameter, I would get the error "Could not authenticate you." and I have no ...
1
vote
1answer
34 views

Find emojis in a tweet as whole clusters and not as individual chars

So first question I've ever asked on here, and its about emojis. I'm sorry. I am making a twitter bot in python with the help of Tweepy, and regex ( also tried python-pcre ) that will analyse a tweet ...
0
votes
1answer
21 views

Can the Tweepy cursor search query go through a list of words loaded from a file?

I'm trying to make my bot be able to search for multiple keywords through the search API. So far I have: f = open('swear.txt', 'r') search = f.read().splitlines() f.close() for x in search: #goes ...
0
votes
0answers
19 views

Error: cannot call `vectorize` on size 0 inputs unless `otypes` is set

I tried to connect to twitter API. I have a lookup table looks like: ID LAT LON RADIUS 1 XX XX XX 2 XX XX XX And then my code is shown below: for contents in lookup: lat=contents[1] ...
-1
votes
0answers
13 views

Why is my brower not showing me the normal Twitter website?

I am trying to access my Twitter via my web browser but every time I go there this comes up (Tried to upload photo, but I'm new here so don't know how to). I use Safari browser and also Chrome browser....
-1
votes
0answers
12 views

Access to Twitter API

I am trying to access the Twitter API but my application got refused the first time. My purpose is educational and the account I have has been dormant since 7 days now. Before that it was active with ...
0
votes
1answer
12 views

Twitter preview card not showing

I would like to show a preview of the twitter card I have. I've set all meta tags: <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:title" content="Vrienden ...
0
votes
0answers
29 views

How to create a twitter bot that replies back as soon as another person tweets?

Yesterday I wrote a twitter bot with Python that takes the most recent tweet from Donald Trump, translates it over in Google Translate 45 times, and tweets back at him the final translation in English....
0
votes
0answers
16 views

ImportError: cannot import name Twitter

I'm generating some twitter data to my s3 using kinesis firehose and installed twitter and boto3. However running into ImportError: cannot import name Twitter error # Import modules from twitter ...
0
votes
0answers
18 views

Error while streaming data from Twitter using Apache FLume

I am trying to stream twitter feeds to hdfs and then use hive. But the first part, streaming data and loading to hdfs is not working and giving ParserException. I have downloaded apache-flume-1.9.0-...
0
votes
0answers
14 views

To be shared tweet is grayed out on mobile (Twitter)

I'm trying to implement Twitter sharing button. For each page twitter.com/intent/tweet link is generated. Works fine on Desktop. Works fine on mobile if Twitter app is installed. But if Twitter app ...
0
votes
2answers
33 views

Extract Country of fetched Tweets

I fetched Tweets and save it into csv by using tweepy. I want to extract country. I used tweet.author.location for extracting location. It gave me location like(city,state,country etc). I want to ...
6
votes
2answers
178 views

Embedding twitter timeline does not render in angular 7

I am following https://help.twitter.com/en/using-twitter/embed-twitter-feed for embedding timeline in the angular page. Only button renders but not the actual timeline. The index.html looks like: &...
1
vote
0answers
34 views

How can I share images/videos to Facebook and Twitter without using their official SDK?

In my iOS app, I want the user to share an image file and optionally a video file to Facebook or Twitter. I have done quite some research on this problem. Here are the options that I know of: Use ...
1
vote
0answers
19 views

How to fix PHP (Twitter API) that won't render in local host

Following this tutorial (https://www.youtube.com/watch?v=iPnGB7a7dO0) to finish off a client that returns tweets that match a search query. Using PHP to handle the Twitter Standard Search API (https://...
0
votes
1answer
10 views

Trouble parsing for specific things like created_at, favorite_count, etc using tweepy

I'm currently using Twitter API to search for tweets using tweepy, and I'm trying to parse for specific parts of a tweet like created_at, favorites, retweets, user id, id, and text of the tweet, but ...
0
votes
0answers
21 views

Publish on facebook and twitter like instagram

I am making a social media app in react native where I want to add feature to publish the post on Facebook and Twitter same as in Instagram. As I have gone through many articles and documentation it ...
0
votes
0answers
12 views

Social Studio Radian6 Get Tweets Data

I want to fetch various social media accounts data through Radian6 API (particularly Twitter). I have my defined url as: headers = {"access_token": key} url = 'https://api.socialstudio.radian6.com/...