How to Create Trending Bots and Auto Post Twitter

How to Make a Trending Bot and Auto Post on Twitter – How to make a Twitter Trending Bot in Indonesia can be done because there are skills to do it. There are various reasons why a topic is often popular. One of them is being promoted. There are several things that really attract the attention of Indonesian Twitter users, one of which is trending topics

How to Make a Trending Bot and Auto Post on Twitter

Of course, in order to become a trend in Indonesia, you must first understand Twitter. Twitter is one of the social media that is widely used by the people of Indonesia. Although not as prestigious as Instagram or Facebook, Twitter can still survive with its trademark, namely users can post text, photos, or videos with only 280 characters.

Even so, you can still post detailed content, such as writing a chronology or story, to keep others interested. So far, Twitter is widely used by people because it can provide information quickly.

Apart from that, all twitter users can still use it for free.

Trending topics on Twitter can also see the continuation of the trend. For example, there are many laws that create jobs. Therefore, you can discuss this matter through your personal Twitter account. Not only serious things, interesting and unique things can also become hot topics on Indonesian Twitter.

If you manage to enter popular Twitter in Indonesia, of course, your account followers can increase and increase your value, become an influential person, who knows various brands will be targeted. This is how to create a hot topic on Twitter.

Hashtags are one of the components on Twitter that make it easier to search using certain keywords. You can use hashtags to post on Twitter based on your creations. Especially if you are working with a brand to increase visibility, the hashtags used must be interesting and consistent with the brand’s characteristics.

How to Make a Trending Bot and Auto Post on Twitter

echo 'Cookie: ';
$cookie = trim(fgets(STDIN));
echo 'Auth Token: ';
$auth = trim(fgets(STDIN));

$headers = array();
$headers[] = 'Cookie: '.$cookie;
$headers[] = "Origin:";
$headers[] = "Accept-Encoding: gzip, deflate, br";
$headers[] = "Accept-Language: en-US,en;q=0.9";
$headers[] = "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36";
$headers[] = "Content-Type: application/x-www-form-urlencoded";
$headers[] = "Accept: application/json, text/javascript, */*; q=0.01";
$headers[] = "Referer:";
$headers[] = "Authority:";
$headers[] = "X-Requested-With: XMLHttpRequest";
$headers[] = "X-Twitter-Active-User: yes";
$post="authenticity_token=".$auth.'&batch_mode=off&is_permalink_page=false&place_id=&status=".rand(1111,9999)." KATA+KATANYA+TARUH+DISINI&tagged_users=";

$post = json_decode(yarzCurl($url, $post, false, $headers, true));
    echo "Tweet ID : ".$post->tweet_id."n";
} else {

function yarzCurl($url, $fields=false, $cookie=false, $httpheader=false, $encoding=false)
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_URL, $url);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
	curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
	curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
	if($fields !== false)
		curl_setopt($ch, CURLOPT_POST, true);
		curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);
	if($encoding !== false)
		curl_setopt($ch, CURLOPT_ENCODING, "gzip, deflate');
	if($cookie !== false)
		curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie);
		curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
	if($httpheader !== false)
		curl_setopt($ch, CURLOPT_HTTPHEADER, $httpheader);
	$response = curl_exec($ch);
	return $response;

deliberately made a long delay so that the account does not get a checkpoint.

How to run it?

– Can use Termux (android)

– Windows Terminal or Linux

That’s the script above, just run it.

If you don’t know how to run it, you can learn how to run a php file in termux (search on google)

or put it on github first then in gitclone > set set run php run.php

How to Get Cookies:

Login to Press F12 -> Network Refresh

Click on = request header > cookie and authorization then copy the cookie and authorization..


A few ways to make trending bots and auto posts on Twitter


Leave a comment

Your email address will not be published.