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
vote
1answer
46 views

How to get specific value from Regex match grouping in C#

I'm working on getting the screen_name and tweetid from the Twitter urls based on the regular expression group matching. (http(s)?:\/\/)(?:www.)?twitter\.com\/@?(#!\/)?(?<screenname>[a-zA-Z0-9_]...
0
votes
0answers
11 views

Can't get Twitter to work with firebaseUI web

I'm using FirebaseUI for my website authentication. I got it to work easily enough with Google and Facebook, but for Twitter I get the following error message : "Unable to determine the authorization ...
0
votes
0answers
3 views

Fail to rich data for twitter card

I don’t know why twitter card doesn’t work at all since I have migrated to new server : https://twitter.com/flickshot_fr/status/1044619154156920833 Twitter validator results : ERROR: Fetching the ...
-1
votes
1answer
25 views

In Android how can i share an http image to twitter as a tweet from my application

I have gone through many articles. But somehow i could not achieve what i wanted to achieve. I have a http image link in my app and i want to share this as an image attachment from Twitter application....
0
votes
1answer
6 views

Scraping twitter/ychan/reddit [on hold]

I need to scrape Ychan/Twitter/Reddit for most popular content.To save popular images made by a list of Twitter users. Only images with specific hashtags. What's the most efficient way to do so? I ...
0
votes
0answers
14 views

There is any Twitter oauth sign in button javascript example?

I'm trying for +6 hours to just see how to integrate Sign in Twitter button on my website based on JavaScript all I need is request, I don't see any example as a demo at least on the internet, anyone ...
1
vote
0answers
6 views

Twitter Search API query with hashtag returning returning "Could not authenticate you”,”code”:32

I have scoured the web to try and find an answer to what seems to be a simple solution but unable to come across one. I am using Postman. On the Authorisation tab, I have entered the details as ...
0
votes
0answers
10 views

Can anyone help me understand what the premium full archive twitter api does? [on hold]

I am trying to retrieve historical tweets from twitter using twitter API but the standard twitter API gives access to only previous 30 days tweets. So i guess i would have to use the premium twitter ...
0
votes
1answer
7 views

How to make a twitter moment directly from a list ot tweets?

Does anyone know if there is a service or something that would turn a list of tweet html links automatically into twitter moment? For instance, I have the links of 5 tweets and I want to turn them ...
0
votes
0answers
12 views

abraham/twitteroauth cannot see [unwound] object in entities->urls

i am using abraham/twitteroauth for twitter feed. Everything works normal as expected, just cannot get [unwound] object as explained on twitter for developers website. object(stdClass)#7 (25) { ["...
-7
votes
1answer
57 views

How to post a twit using C# with username and password? [on hold]

I used tweetsharp API to post a twit using access token it is working fine. Now I need to implement with username and password to post the twit. Is it possible to post a twit using username and ...
0
votes
0answers
12 views

Permission to connect to Twitter API denied

I tried to connect to the Twitter API using the python code in the screenshot: When I ran the code it worked and I was able to create the twitter_api object. However when I ran it again a few moments ...
-1
votes
0answers
17 views

How to make a story post for social website

I am working on a social website project. It's for training purpose so nothing special. I am using it to practice PHP and database connectivity. Now the question - How do I make the post feature (see ...
0
votes
0answers
14 views

How to use pagination in twitter api tweets?

I am using node.js to pull tweets from Twitter REST API using search/tweets/ endpoint. I want to add pagination to the tweets now. I have researched on since_id, max_id, and count and even ...
0
votes
1answer
16 views

what is user timezone from twitter?

I have a JSON format tweet data. One attribute is user location where you can see the place user lives. However many people say it is not enough to prove that user is from that place. I also see there ...
0
votes
1answer
15 views

Exclude Retweets and Replies when getting Tweets from user timeline - Tweepy

I use the following code for downloading Tweets from user timeline with Tweepy. However, this returns Tweets including Retweets and Replies by the user also. I want only the Tweets posted in user's ...
0
votes
1answer
15 views

Searching Twitter likes using keyword

The end goal is to exclusively search my own Twitter likes using keywords. I'm having a hard time figuring out if it's possible via the API and if so, which search that I need (Standard, Premium or ...
0
votes
0answers
10 views

Twitter return null on IIS, using cUrl - SSL certificate

I use IIS8 on windows server 2012 R2 And this's my code $username = 'username', $key = 'key'; $secret = 'secret'; $counter = '0'; //setlocale(LC_TIME, "de_DE.utf8"); $quest = "https:...
0
votes
3answers
42 views

Tweet button doesn't appear when used in accordion with some browsers

I'm using the following code to display a twitter button to share a page from one website. <script>$(document).ready(function(){!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d....
0
votes
0answers
246 views

'UnicodeDecodeError' in Tweepy API

Alright, so here's what I have: import tweepy import time #login credentials twitter account consumer_key = '------' consumer_secret = '-----' access_token = '-----' ...
0
votes
0answers
17 views

PHP Twitter api New direct messages with event type (change september 2018)

Use the twitter API to send direct messages, with the following method: "POST direct_messages / new" with php, tmhOAuth library. Since a few days ago they changed (as indicated in migration ...
1
vote
1answer
25 views

How do I use Twitter API with github.com/ChimeraCoder/anaconda?

I have a web API written Go, I would like to use it to consume the Twitter API and return some properties from a user's timeline. I have added https://github.com/ChimeraCoder/anaconda to my web API, ...
0
votes
0answers
12 views

TweetHighScore in iPhoneX iOS12 not working

Tweet in iOS12, iPhoneX not working. -(void)TweetHighScore { SLComposeViewController *tweetSheet = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeTwitter]; [...
0
votes
0answers
44 views

TwitterKit - how to open iOS twitter app on integration

I am using TwitterKit for login with iOS twitter app. Twitter app is installed in my iPhone. Below given code is always open web page to login, but I want to login with twitter app if anyone have idea ...
1
vote
2answers
31 views

TypeError: Cannot create property '_id' on string… even after using JSON.Parse?? (MongoDB /Node.js / Twitter API)

EDIT - BTW, I am trying to Insert 100 Tweets into the MongoDB database. I am trying to insert the text of Tweets (using Twitter API) into a MongoDB database and I get TypeError: Cannot create ...
0
votes
0answers
18 views

How do I get extended REtweets in Node.js with Twitter API? (Only getting a MAX of 140 characters)

I am trying to get extended retweets, but I cant seem to get that extra field called retweeted_status as a parameter in the result. I don't get any errors when including a parameter called "...
-1
votes
0answers
26 views

I'm not sure why I have an invalid syntax? [on hold]

I'm currently coding on Sublime Text 3 and using my Windows 10 Terminal to run my code. I've installed all the packages I need from pip but it still gives me errors. I could run this exact code on a ...
0
votes
0answers
20 views

Getting friends of list of users Tweepy

I'm having trouble getting my code to work. The below code should work in theory, although when I run the program it seems to just stop before these steps. If anyone has any suggestions, they would ...
0
votes
0answers
13 views

Apache Spark 2.3.1 - twitter is not a member of package org.apache.spark.streaming

First of all I have been looking around for this problem a while now, and I can see there exist other solutions regarding this, however nothing for the Apache Spark version 2.3.1. To be short, I am ...
0
votes
0answers
14 views

Remove retweets from Twitter Embedded List Timeline

I want to embed a Twitter List on my Wordpress website. Twitter provides the means either by twitter list url or by shortcode. The ref page is at https://github.com/twitter/wordpress/wiki/Embedded-...
1
vote
1answer
13 views

How can I get certain parameters of tweets to save them into a file using json.stringify? (Method I use works for Stream but not for GET)

I am trying to save into a file only user @screen_name and text of the tweet I get using the Twitter API and I cant find any documentation for this on Twitter API website or json.strinigify docs. The ...
-1
votes
0answers
21 views

How did they manage to hide their Page Source?

How did Twitter manage to hide their page source? view-source:https://twitter.com/
0
votes
1answer
12 views

Twitter GET Users/Search with multiple parameters

Can I make an API call with two or more of these parameters? Such as full name AND location. The Twitter Get Users/Search API: https://developer.twitter.com/en/docs/accounts-and-users/follow-search-...
-4
votes
0answers
28 views

Twitter Developer Account: How to connect to a second account?

I have a single Twitter developer account and I've been waiting two weeks to get another Twitter account approved for API access as well, but it's been over two weeks and it's still pending. I was ...
0
votes
0answers
41 views

Performing twitter.search.tweets with empty query

I'm trying to create a python script to create a html file that will show my tweets from my homeline on a daily basis. So for example, my html file should have all tweets from Sept 12 in one html file ...
0
votes
1answer
26 views

Get list of followers and following for group of users tweepy

I was just wondering if anyone knew how to list out the usernames that a twitter user is following, and their followers in two separate .csv cells. This is what I have tried so far. import tweepy ...
-1
votes
0answers
26 views

GET Request with Authorization Header getting CORS error [duplicate]

I am trying to use twitter search tweets API in my stencil application. The API requires a GET request to be sent to this URL. with an authorization header containing the Bearer token. When I test ...
0
votes
0answers
14 views

fetching twitter post related to some hashtag

I am making an App on react native where It fetches tweet related to given keyword Example, If someone clicks on Bitcoin, it loads all the latest tweet related to Bitcoin [Question:] Can someone ...
0
votes
1answer
15 views

How to set url and callback url field for twitter app development?

I am trying to create a twitter application and got stuck on url and callback url field. I am using it for personal project and hence I set url fields as http://127.0.0.1/ but I get Invalid website ...
0
votes
1answer
28 views

How to get full text of tweets using Tweepy in python

I am collecting tweets using tweepy api and I want the full text of the tweets. Referring to examples in https://github.com/tweepy/tweepy/issues/974, tweepy Streaming API : full text and Tweepy ...
-3
votes
1answer
31 views

How to assign code to a variable in Javascript [closed]

I want to assign twitter embed code to a javascript variable but I have no idea what I need. I want to assing twitter embed code to variables like var random_img = new Array(); random_img[0] = '...
0
votes
0answers
22 views

How to embed tweets at random on website?

I have three tweets. I want to insert one of them at random everytime a website loads. So I have the embed code for each of them and wonder what piece of html/javascript will do the trick. I was ...
0
votes
0answers
24 views

Stream Text from Protected Twitter Accounts

How could I stream tweets from my Twitter timeline that includes protected accounts with Python? Is this possible?
0
votes
1answer
15 views

Error: Bad Twitter streaming request: 401 using Twit

This is the code that is not working: var Twit = require('twit'); //Using Twit var config = require('./config'); //Loading tokens var T = new Twit(config); //Applying tokens var stream = ...
0
votes
0answers
8 views

How to Access Twitter API using jQuery Ajax?

The Below Code Successfully retrives JSON data but it doesnot work on localhost and jsFiddle var settings = { "async": true, "crossDomain": true, "url": "https://api.twitter.com/1.1/trends/...
0
votes
0answers
24 views

Instagram / Twitter with Hashtag [closed]

would like to ask how do I create something like this? Inside there display all the keywords with hashtag from Instagram and Twitter. http://thestory.barbour.com/timeline/2011/barbours-wonder-woman/...
0
votes
0answers
21 views

PHP - Twitter Invalid or expired token

So I am using Abraham's TwitterOAuth library to login on twitter and post a picture with some text, it goes as normal, everything seems to work just fine but the twit is not being posted so I decided ...
0
votes
1answer
41 views

Twitter API : Search tweets which start by one character [closed]

I'm trying to search tweets starting by one character, using the Twitter API: 1.1/search/tweets?q=> But it doesn't work. Do you have any idea why?
2
votes
0answers
22 views

Twitter: “Fetching the page failed because other errors”, on Forge NGINX server with SSL

Our website is running on Laravel Forge with 'Lets encrypt SSL' and HTTPS is OK in browser. We added FB, Twitter meta tags for having branded FB and Twitter cards when sharing on these media. ...
0
votes
0answers
21 views

Twitter popup auth cause CORS problem with React and Rails

I want to integrate the twitter auth popup with React and Rails. I'm using https://github.com/GenFirst/react-twitter-auth React implementation <TwitterLogin loginUrl="https://api....