Expert in Api Twitter? Please!

irving

Registered Member
Joined
Apr 5, 2014
Messages
83
Reaction score
16
I have been working with twitter applications, I would like to know that they recommend to avoid the suspension of the applications, because this usually happens however in many cases has not had problems, but in others yes.

When you handle many accounts (over 100) and are automated to tweet constantly, then the problems begin. I would like to know (if possible) what the exact time limits are for retweets, favs, follows, unfollows and tweets from Api.

If there is any expert in twitter api that answers this thread so that we speak, that you put your skype please.
 
The exact time limit I do not know , however twitter has their own methods to weed out bots. So, if you time your bots to post at different times and not all at once you can keep your steady stream of posts without alerting twitter.
 
I've worked with the twitter API a lot. Through obsessively reading their docs and my own experience, these are my reference guidelines:

retweets/tweets: up to 100 per hour, combined (specified in their docs).

favs: they don't directly say, but extrapolating a little from the GET requests, it's probably the same as tweets/retweets. It's not a very aggressive behavior, so it seems fairly unlikely to cause banning.

follows: up to 1000 per day, probably more like 10 per 15 minutes (because their API rate limiting is broken into 15 minute segments), but this limit varies by account and is secret. I haven't done a lot of following and unfollowing, but I've never had trouble following up to 100ish a day. Once you're following 5000 people your total follow limit is related to your follower count and, of course, secret.

unfollows: there's no direct guidance from twitter that I've been able to find, but I keep it to no more than 10 per 15 minutes, and even that's probably aggressive.
 
@jackalope thank you for shared your experience... I have one cuestion.. Do not delete the tweets with the Api? And if you eliminate them, how often do you do it? And if you delete them, every few minutes / seconds do it?. I would like you to send me your Skype by PM, to share experiences and talk better. Thanks!

Somebody else's opinion?...
 
@irving I've not deleted tweets often and I couldn't find anything about it in the docs, but I would assume it follows the same pacing as tweeting/retweeting. Deleting is also not aggressive, so it's less likely to make twitter pay attention to you. I don't use skype so it's better to reply here.
 
@jackalope The twitter accounts you use to create applications are old?


Somebody else's opinion?...
 
@irving All fairly new (a few days old) and I start really conservatively, doing just a few tweets and follows a day for the first few weeks, then rolling up to larger numbers. I haven't been banned so far, but I'm also trying to build long term accounts so it's okay if they're a little slower.
 
Please other opinion for avoid suspension apps in twitter?...
 
Hello... Please other opinion for avoid suspension apps in twitter?...
 
Please i need help, Someone who really wants to contribute to this topic?
 
Hi bros,

I need a help. Anyone knows about API searching on Twitter. I see it has a limitation but i know some guys can do it without limitation.
 
@areyou We are talking about the Api, my friend ...
I mean if you using Twitter OAuth REST API for your applications you can use socks5 proxy. Because if you use multiple twi accounts from 1 ip it seems to be a suspicious activity. Maybe i misunderstood you buddy...
 
@areyou Excuse me, I was the one who misunderstood you. Could it be if it is so nice to show some example of php code to see how it connects with Proxy and the Api? I would really apreciate it...
 
@areyou Excuse me, I was the one who misunderstood you. Could it be if it is so nice to show some example of php code to see how it connects with Proxy and the Api? I would really apreciate it...

np. this lib will helps you:

https://github.com/abraham/twitteroauth

here you can find code examples to use HTTP proxy in 'Proxy' section:

https://twitteroauth.com/

if you need to use socks5 proxy try connect like this:

Code:
$connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, $access_token, $access_token_secret);
$connection->setProxy([
   'CURLOPT_PROXY' => '127.0.0.0',
   'CURLOPT_PROXYUSERPWD' => 'user:password', // or leave blank if no auth
   'CURLOPT_PROXYPORT' => 8080,
   'CURLOPT_PROXYTYPE' => CURLPROXY_SOCKS5, // change type of proxy. default is CURLPROXY_HTTP
]);

if this code not affect to change proxy type look in 444 line of TwitterOAuth.php class and change:

https://github.com/abraham/twittero...f92021774f67efe599a/src/TwitterOAuth.php#L444

$options[CURLOPT_PROXYTYPE] = CURLPROXY_SOCKS5;

maybe it will help you to use multiple twi accs&apps without suspension
 
@areyou Excuse me, I was the one who misunderstood you. Could it be if it is so nice to show some example of php code to see how it connects with Proxy and the Api? I would really apreciate it...


if you using your own lib to connect twi api you can add proxy setting to your CURL function like this:

Code:
  curl_setopt($ch, CURLOPT_PROXY, trim($proxy)); // ip
  curl_setopt($ch, CURLOPT_PROXYTYPE, 7); // scoks5 type
  curl_setopt($ch, CURLOPT_PROXYUSERPWD,'user:password');
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 5);  
  curl_setopt($ch, CURLOPT_HEADER, 0);          
  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);  
  curl_setopt($ch, CURLOPT_ENCODING, "");        
  curl_setopt($ch, CURLOPT_USERAGENT, $uagent); //UA
  curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
  curl_setopt($ch, CURLOPT_TIMEOUT, 5);  
  curl_setopt($ch, CURLOPT_MAXREDIRS, 10);

https://stackoverflow.com/questions/13444738/how-to-use-a-socks-5-proxy-with-curl
https://stackoverflow.com/questions/39453158/how-to-use-curl-php-with-socks-5
 
Back
Top