Script Twitter Reply with Retweet

Script Twitter Reply with Retweet, Twitter is an online social networking service that allows users to send and read short messages of 140 characters called “tweets”. Registered users can read and send tweets, but are not registered can only read. Users access the Twitter website, SMS interface via applications or mobile devices. Twitter Inc., based in San Francisco and has over 25 offices around the world.
Script Twitter Reply with Retweet
Script Twitter Reply with Retweet

Script Twitter Reply with Retweet
Script Twitter Reply with Retweet
Users can group: message together by topic or type by use of hashtags – words or preceded by “#” symbol phrase. Similarly, the “_” followed by the username you use to talk or respond to others. To send messages from other Twitter users and share with their followers, the user can click the button Tweet Tweet.
At the end of 2009, has added the “Twitter Lists”, which allows users to follow the ad hoc lists of authors instead of individual authors.
short code number from the United States, Canada, India, New Zealand and the Isle of Man-based for international use: via SMS, users can communicate with Twitter through five gateway numbers. There is also a short code in the United Kingdom, which is accessible only by people from network Vodafone, O2 and Orange. In India, since Twitter only supports tweets from Bharti Airtel, an alternative platform called smsTweet set by the user to work on all networks. GladlyCast similar platform called exists for mobile phone users in Singapore and Malaysia.
Tweets are 140-character limit to restrict more SMS messages of support, to introduce a shorthand notation and slang used in SMS messages. 140 character limit has also increased the use of services such as bit.ly, goo.gl and tr.im URL shortening and content hosting services, such as Twitpic, memozu.com and NotePub to accommodate multimedia content and text longer than 140 characters, in June 2011 , Twitter has used its domain t.co to shorten the duration of the automatic all URLs on your site made redundant link shorteners to keep within the 140 character limit.
On June 24, 2016, Twitter announced that media such as photos and videos and administration to someone, do not count against the limit of 140 characters. A picture of the user to write it possible to calculate approximately 24 characters. attachments and links will not be part of the character limit.
On July 17, Twitter launched a new way for advertisers to customers who have a particular tweet or emoji emoji involved with a particular tweet.
Script Twitter Reply with Retweet
editusername.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
/*
 @Title : Auto Reply Target with RT by @Dani404_
 @Author : Dani
 @Twitter : @Dani404_
 @facebook : fb.com/dhanibattalionz
 @blog : www.dani-id.com
 @website : https://dani.asia
 @ YANG GANTI COPYRIGHT, BANCI !!!
*/
// Memuat File Yang Di Butuhkan
require_once('./twitteroauth/twitteroauth.php');
echo "<title>Auto Reply with RT</title>";
// Konfigurasi
define('CONSUMER_KEY', 'isi CK');
define('CONSUMER_SECRET', 'isi CS');
define('ACCESS_TOKEN', 'Acces Token lu');
define('ACCESS_TOKEN_SECRET', 'Acces Token Secret Lu');
$username = "dani404_";
$jumlah = "2";
// Cek Konfigurasi
$koneksi = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET);
$cek = $koneksi->get('account/verify_credentials');
if($cek->errors){
echo "<b>[-] Konfigurasi Error !!! [-]</b>";
}
else{
// Cek Tweet Terbaru
$status = $koneksi->get('statuses/user_timeline', array('screen_name' => $username, 'include_rts' => false, 'exclude_replies' => true, 'count' => $jumlah));
foreach($status as $statuses) {
$id = $statuses->id_str;
$tweet2 = $statuses->text;
$tweet3 = "";
// Tweeting
$post = $koneksi->post('statuses/update', array('status' => $tweet3));
if($post->errors) {
echo "Gagal Ngetweet<br>";
}
else {
echo "$tweet<br>";
}
}
}
?>
Script Twitter Reply with Retweet
Script Twitter Reply with Retweet
eksekusi.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?php
/*
 @Title : Auto Reply Target with RT by @Dani404_
 @Author : Dani
 @Twitter : @Dani404_
 @facebook : fb.com/dhanibattalionz
 @blog : www.dani-id.com
 @website : https://dani.asia
 @ YANG GANTI COPYRIGHT, BANCI !!!!!
*/
// Memuat File Yang Di Butuhkan
require_once('./twitteroauth/twitteroauth.php');
 $database_host = "localhost"; /* HOST DATABASE */
 $database_username = "isi coeg"/* USERNAME DATABASE */
 $database_password = "isi coeg"/* PASSWORD DATABASE */
 $database_name = "isi coeg"/* NAMA DATABASE */
 $database_table = "twitter_access_tokens"; /* NAMA Tabel */
 $consumer_key = "isi coeg"; /* CS */
 $consumer_secret = "isi coeg"; /* CK */
 $jumlahdb = "414";
/* Mengambil kata Secara acak dari statuslu.txt */
function randomline( $tweet )
{
    $lines = file( $tweet );
    return $lines[array_rand( $lines )];
}
 mysql_connect($database_host, $database_username, $database_password);
 mysql_select_db($database_name);
  
 $sql="select * from $database_table ORDER BY RAND() DESC LIMIT $jumlahdb";
 $results = mysql_query($sql) or die('Tekan F5 atau CTRL+R untuk memuat ulang halaman ini.');
  
 while($row=mysql_fetch_array($results)){
  for($i=0;$i<1;$i++){
  $tweet = randomline('statuslu.txt'); /* STATUS TXT LO */
  $connection = new TwitterOAuth($consumer_key, $consumer_secret, $row['oauth_token'], $row['oauth_token_secret']);    /* UBAH ROW SESUAI DB */
  $connection->get('account/verify_credentials');
echo "<b>[#] Auto Reply Target with RT by @Dani404_</b><br>";
require_once('editusername.php');
// Agar Tweet Tidak Berulang ulang terus
if(file_exists('1.txt')){
 $file = file('1.txt');
 $file = str_replace(array("\n", "\r", "\r\n"), "", $file);
 $file = array_unique($file);
 if(in_array($id, $file)== false) {
$tweet1 = "RT @$username $tweet2";
// Mengeksekusi Reply nya Coeg
$eksekusi = $connection->post('statuses/update', array('in_reply_to_status_id' => ''.$id.'', 'status' => $tweet1));
if ($eksekusi->errors){
echo "$tweet1 <font color=\"red\"> = GAGAL COEG</font><br>";
}
else {
echo "<font color=\"blue\"> $tweet1 = SUKSES !</font><br>";
}
}
}
}
}
// Menyimpan ID Tweet
$save = fopen("1.txt", 'a');
    fwrite($save, $id."\r\n");
    fclose($save);
?>
Script Twitter Reply with Retweet
you can download full here ( with twitterouath ) : LINK

Tidak ada komentar

Diberdayakan oleh Blogger.