Most voted "twitter" questions
Twitter is a microblogging service that allows users to post "tweets" of up to 280 characters. These can also be sent via your API (http://dev.twitter.com).
Learn more…48 questions
Sort by count of
-
17
votes1
answer1818
viewsMeta tags for Social Networks
We know that it is necessary to implement specific meta tags in <head> of our websites to optimize content sharing on social networks such as Twitter, Google+, Pinterest and Facebook. For this…
-
8
votes1
answer1520
viewsAutomatically publish to Twitter from the PHP website
I’m developing a backoffice in PHP. And every time the administrator adds a product, that product will be automatically published on Twitter. On Twitter will appear: the name of the product your…
-
8
votes1
answer658
viewsHow to login to the site using Instagram, Twitter or Google+ account on Platform . NET (C#)
I’m looking to develop something of the kind but I have no references to how to do, could help me with some example?
-
5
votes1
answer182
viewsJsonexception being launched in Twitter search - Java
I have an algorithm that does a search of old tweets on Twitter. The application worked normally for a few days, but out of nowhere it started to throw an exception. Code: public static…
-
4
votes3
answers6503
viewsHow to avoid encoding problems when picking up data with Twitter?
I’m taking Twitter data with the package twitteR for r but the tweets are coming with encoding. Someone knows how to get around this problem? library(twitteR) library(stringr) library(ROAuth)…
-
4
votes1
answer3081
viewsHow to customize buttons for social networks?
I wanted to know how to customize the buttons to share something on some social network. In web there are already the default buttons but I wanted to customize them just using CSS. I plan to do like…
-
3
votes1
answer1598
viewsCustom Like and Share Button Counter for Social Networks Twitter and Facebook
How to get the total number of likes and shares of a URL, on platforms Twitter and Facebook? There are several websites where you can see buttons share/partilhar/compartilhar custom Facebook and…
-
2
votes1
answer911
viewsHow to collect tweets through the Streaming API, restricting a geographic location?
I would like to collect tweets through a certain keyword in real time, however I would like tweets only posted in brazil, because when collecting the api returns me tweets from all over the world.…
-
2
votes0
answers121
viewsFilter retweets using the twitter API
I’m making a search tool using the twitter API to receive tweets. However, I am having a problem related to retweets, every search I do, more than half of the results are retweets. Is there a way…
-
2
votes1
answer77
viewsHow to save Twitter data, downloaded in R, in Excel?
I am using R to download public profile data on Twitter. The time of collection goes right, with the following code: library(rtweet) trump <- get_timelines("realDonaldTrump", n = 500) The problem…
-
2
votes0
answers64
viewsFilenotfoundexception being launched in Twitter search - Java
I have an algorithm that does a search of old tweets on Twitter between two dates. My goal is to return all tweets. The code was as in this question posting (may serve as a parameter) a few days ago…
-
2
votes1
answer364
viewsHow to filter tweets (status) with tweepy (Cursor)
I took from the book "Mastering social media Mining with python" the code below, which saves all a user’s tweets in JSON format. But I would like you to save in json only tweets of a certain date.…
-
2
votes1
answer90
viewsStem for Twitter
Dear colleagues, I am trying to do a twittering analysis of a Timeline and needed to stemiate the texts for analysis. I am trying the following procedure: setup_twitter_oauth(consumer_key,…
-
1
votes1
answer120
viewsTwitter ( php ) - how to get a picture of the user and the email this user uses on the social network
I am not able to find in the documentation whether this data can be accessed or not. The documentation (in my opinion) is very superficial in relation to Facebook SDK documentation. I am using Oauth…
-
1
votes0
answers184
viewsPost to Twitter with PHP
I made this code to publish the news of my site directly on my Twitter, but it is not working and I can not identify the error, since it does not return anything. It does not work and not from the…
-
1
votes1
answer54
viewsTwitter User-App Authentication
I am developing some Python scripts with the intention to bring specific tweets and perform further analysis, but I have doubts about the type of Twitter authentication. As I noticed, there are two…
-
1
votes0
answers42
viewsIncomplete tweets in searchTwitter search method
Hello, community of Stackoverflow BR, I’m playing with the library twitteR of programming language R, and I realize that in the search that I have made, the texts are cut, example: "RT…
-
1
votes0
answers391
viewsRequest in Twitter API using Jquery and Ajax
I’m trying to get the data from a Twitter page, unsuccessful so far. I got the access token through the PHP Controller, and I intend to use it to make requests. var token = 'Bearer <?php echo…
-
1
votes0
answers50
viewsHow can an inline style cause security problems?
Working with the Twitter API, I received the following message in the browser when trying to authenticate: Refused to apply inline style because it violates the following Content Security Policy…
-
1
votes0
answers21
viewsTwitter button does not read #
My blog has the tweet button that works normally like any other: it gets the title of the page and URL through the date:post.title / data:post.url, respectively. The problem is that a few days ago,…
-
1
votes1
answer59
views -
1
votes1
answer136
viewsTwitter API with CURL
OBS: THE COMPLETE CODE IS HERE, but I made this adjustment to receive the cookies I am trying to read the cookie files to make the necessary requests to stop get the result I hope, see my code:…
-
1
votes1
answer242
viewsHow to collect Tweets in real time with tweepy in Python
I am working on a project that consists of collecting the tweets posted here in Brazil, I am using the Twitter API and the tweepy library of Python, I can take the terms that are in trending Topics…
-
0
votes1
answer157
viewsList last 5 tweets with jquery
I need to list the last five tweets of a Twitter user, and I need only the text and the date to appear. I am trying to widget from Twitter itself, but it’s very complicated. Someone would have…
-
0
votes1
answer161
viewsTrack #hash and create description from it [LOGICA]
I have come across this now and I would like to debate to make a logic. Well, nowadays it is used a lot the hashtags for everything in the main social networks, I almost never enter in Twitter and…
-
0
votes1
answer487
viewsHow to count the number of twitter followers via php?
Good morning. I’m developing a blog and I need to list the number of followers that a certain company has, but I’m not able to do it. I managed to do the Facebook likes listing but Twitter can not…
-
0
votes1
answer77
viewsError while using Sttwitter and Swifter
I am trying to use one of the two libraries Sttwitter or Swifter in my project but always error. In the case of Sttwitter the error is in the method call getUserTimelineWithScreenName:(NSString…
-
0
votes0
answers73
viewsAbout Twitter API
I wonder if anyone can help me? The following is to take some information from a certain Twitter user to introduce them in HTML site, I would like you by Java script, the big problem is that I do…
-
0
votes0
answers42
viewsShare button with share count
Hello, I would like to put on my website sharing buttons for facebook, twitter and google+. But I would like to use a custom look for the buttons, but as such, I don’t know how to apply the share…
-
0
votes0
answers226
viewsHTML Js Share share content
I would like to know if there is any global solution to generate news sharing on a social media content portal. Or I have to insert a different meta tag for each social network on each page.…
-
0
votes0
answers19
viewsLoop to search Twitter for various elements of a list using tweepy
I am using tweepy to return 20 tweets from each user in INF_LIST. I’m trying to do this by way of a loop so that it covers all users. However, it seems that the program returns only the last user’s…
-
0
votes0
answers39
viewsRecover Cookies after logging in
I have the following code: <?php if (isset($_POST['ttrSignin'])) { $ttrUsername = trim(filter_input(INPUT_POST, 'ttrUsername')); $ttrPassword = trim(filter_input(INPUT_POST, 'ttrPassword')); if…
-
0
votes1
answer190
viewsExtract data from an array
I have the following code: <?php require_once './app/autoload.php'; if (!isset($_SESSION['twitter_session'])) { header('Location:' . URL_BASE . '/index.php?access=denied'); } if…
-
0
votes1
answer227
viewsGet information from Twitter without using the Curl API
I have the following code: $url = 'https://twitter.com/' . $username; $user = curl_init(); curl_setopt_array($user, [ CURLOPT_URL => $url, CURLOPT_CUSTOMREQUEST => 'GET', CURLOPT_CAINFO =>…
-
0
votes1
answer9369
viewsHTTP/1.1 302 Found Is this normal or in trouble?
I’m trying the following return on my code PHP, that even with these topics helped me a lot: First, According to C: wamp64 www test index.php:61:string 'HTTP/1.1 302 Found cache-control: no-cache,…
-
0
votes2
answers453
viewsWays to use Curl with PHP?
I’m studying cURL to continue in my applying, I reviewed my code and monitored the network from Twitter and got the following HTTP Headers: curl "https://twitter.com/" -H "accept-encoding: gzip,…
-
0
votes1
answer451
viewsHow to sort and sequence data from a file
I developed a program that stores a list of ids, so But for the desired purpose, the data should take the sequential form, so that the first pair of ids is something like: "889926212541448192"…
-
0
votes1
answer642
viewsHow do you leave objects side-by-side coming from *ngFor?
I have this situation: <div class="row"> <div class="col-lg-12"> <!-- 1 Primeiro cartão, 1° objeto --> <div class="card borda-card" *ngFor="let evento of eventos"> <a…
html twitter-bootstrap angular twitter angular-cliasked 6 years, 7 months ago Rafael Souza Calearo 191 -
0
votes1
answer397
viewsTweeter
I am using the API provided by Tweeter next to python to fetch certain tweets. The problem is that I wish view the tweets received by the person and not the tweets sent by them however, I am not…
-
0
votes1
answer124
viewsHow to get a person’s friends and followers on Twitter using the tweepy library?
The function getting_friends_follwers() below works if I remove the value 100 from (cursor2.items(100)) . My goal is to take these names (followers and friends) and save in a file "friends.txt". The…
-
0
votes0
answers38
viewsReply to tweets from a specific user with Tweepy
Using the library Tweepy, I’m trying to make a bot that reply in all tweets of only one specific user, the problem is that the bot is giving reply not only in the tweet but in everyone that retweet…
-
-1
votes1
answer180
viewsHow to collect tweets and followers from the API?
Well guys I’m here again researching on the api’s on social networks, I’m starting twitter now and I’m having some difficulties, I need to collect profiles (id/ name) and along with the profile I…
-
-1
votes1
answer37
viewsPost a preset phrase on Twitter
const frase = 'Olá Mundo!' <a href="https://twitter.com/compose/tweet" target='_blank'> <button>Twitter</button> The link to the tag <a> redirects to the Twitter page already…
-
-1
votes2
answers277
viewsPHP Curl Twitter Check if data is correct
I was able to do what I wanted, but how do I check to see if the user data is correct? In the previous question I asked how to get all cookies if really the user and password exists on Twitter, I…
-
-2
votes1
answer280
viewsForce open Facebook/Twitter/Google in browser
I created a mobile app that is accessed via browser (a web app, a common website). In it I have a button that opens via window.open() a page on Facebook, but when I click the button, it calls the…
-
-2
votes1
answer32
viewsMultiline string problem for twitter API in Dart
I’m creating a bot that tweets on Dart. I’m having problems because I want to post with line break but I can’t, the following error appears when I try to convert a string into json through the…
-
-2
votes1
answer35
viewsTwitter API returning "Status is a Duplicate"
I’m creating a bot on Twitter to respond every time it’s mentioned with random text. It’s working fine, but the problem is that the API returns the "Status is a Duplicate". This is the part that…
-
-4
votes1
answer440
viewsMultiple buttons share from facebook, twitter and G+ on the same page
I have a page that contains multiple posts and need to put individual share buttons on each post. Take an example: In this site we can see the scenario similar to what I want to do…