Questions tagged as 'twitter-api'

1
answer

cURL Friendships / create, bad authentication data

Good with the help of Inkeliz response, this question , I was able to authenticate with Twitter via form. login.php file : <?php require_once '../modules/config.php'; require_once '../modules/class/Cookies.php'; $cookie = []; $use...
asked by 10.07.2017 / 21:14
0
answers

how to collect retweets and replys from a user in ruby

I'm doing a job and in it I need to collect the number of retweets and replys from 10 tweets from a Twitter user. In the code it is already possible to collect the number of followers and following by users and I have made an attempt to collect...
asked by 24.06.2015 / 00:57
1
answer

How to return PHP code with Javascript?

Fully edited topic My file Follow_Button.php : <?php require_once '.././app/autoload.php'; $TwitterUsers = new TwitterUsers; require_once '.././app/TwitterOAuthHelper.php'; $helper = new TwitterOAuthHelper; $row = $TwitterUs...
asked by 08.06.2017 / 16:01
1
answer

Twitter API with CURL

OBS: THE COMPLETE CODE IS HERE , but I made this adjustment to receive cookies I'm trying to read the cookie files to make the requisite requests to get the result I expect, see my code: $tokens = ['_twitter_sess', 'ct0', 'auth_to...
asked by 06.09.2017 / 12:24
1
answer

Problem with urllib3 and API Twitter

Save money on duty I'm using this font for twitter API link When running the error examples:    File "stream_tweets.py", line 1, in       from TwitterAPI import TwitterAPI File "/usr/local/lib/python2.7/dist-packages/TwitterAPI/Twi...
asked by 24.03.2016 / 21:36
1
answer

Logical help with PHP using Twitter API

Well, the idea is this, I'm using API of Twitter to do user authentication, I'm using the following resource: link . I used this video to help me authenticate, it's exactly the same: link The logic: All users who authorize th...
asked by 04.06.2017 / 10:06
0
answers

Filter retweets using the twitter API

I'm doing a search tool using the twitter API to get tweets. However, I have a problem related to retweets, with every search I make, more than half of the results are retweets. Is there a way I can filter retweets without using '-RT' while fetc...
asked by 28.08.2015 / 15:07
3
answers

Twitter API Doubt

In the documentation it says the following:    Tokens are passwords   Keep in mind that the consumer key & secret, bearer token credentials, and the bearer token itself grant access to make requests on behalf of an application. These valu...
asked by 28.05.2017 / 22:46
1
answer

How to get information for a form from Twitter?

Yesterday I did this question here in SoPT , I'm now following what the Inkeliz said:    Cookies will only be obtained if you apply using login / password. To do this, just go to the Twitter page and see what URL is called (ie F12 & Netwo...
asked by 26.06.2017 / 23:29
1
answer

Twitter User-App Authentication

I'm developing some Python scripts with the intention of bringing specific tweets and doing later analysis, but I'm having doubts about the type of Twitter authentication. So I noticed, there are two types of authentication, User-Based Authen...
asked by 07.02.2017 / 18:17