Google Image SearchHack!
<form action ="http://www.google.co.jp/searchbyimage" method="hidden" enctype="multipart/form-data" target="_blank">
<input type = "hidden" name = "image_url" value = "画像のURL">
<input type = "hidden" name = "image_content" value ="">
<input type = "hidden" name = "filename" value ="">
<input type = "hidden" name = "num" value = "10">
<input type = "hidden" name = "hl" value ="ja">
<input type = "hidden" name = "bih" value ="385">
<input type = "hidden" name = "biw" value ="1280">
<input type = "Submit" name = "Search" value = "偽装アカウントかチェック!" >
</form>
http://app.grow.pe/misscon
FacebookUtil.class.php
public function getMe(){
if (empty($this->access_token)) $this->getAccessToken();
$graph_url = 'https://graph.facebook.com/me?access_token=' . $this->access_token . '&locale=ja_JP';
$this->me = json_decode($this->crawler->curlCached($graph_url));
}
public function getFriends($uid = '', $sub_query='') {
if (empty($this->me)) $this->getMe();
if (empty($uid)) $uid = $this->me->id;
$fql = 'SELECT uid, name FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1=' . $uid.')' . $sub_query;
$graph_url = 'https://api.facebook.com/method/fql.query?query='
. rawurlencode($fql) . '&access_token=' . $this->access_token.'&format=json';
$friend_arr = json_decode($this->crawler->curlCached($graph_url));
return $friend_arr;
}
http://app.grow.pe/misscon
例えば、ユーザーの友達の情報をとってくる
$fql =SELECT
uid, name,gender,locale,birthday,education,などなど...
FROM user WHERE uid
IN (SELECT uid2 FROM friend WHERE uid1=自分のID);
FQLを投げる回数が1回で済む。
http://app.grow.pe/misscon