This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ($user){ | |
$fql = "SELECT uid, name,pic_square, pic_big, birthday_date FROM user WHERE uid IN ( SELECT uid2 FROM friend WHERE uid1 = me() ) "; | |
$param = array( | |
'method' => 'fql.query', | |
'query' => $fql, | |
'callback' => '' | |
); | |
$fqlResult = $facebook->api($param); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ($user){ | |
$fql = "SELECT uid, name, current_location.country FROM user WHERE uid IN ( SELECT uid2 FROM friend WHERE uid1 = me() ) "; | |
$param = array( | |
'method' => 'fql.query', | |
'query' => $fql, | |
'callback' => '' | |
); | |
$fqlResult = $facebook->api($param); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ($user){ | |
$fql = "SELECT uid, name,devices FROM user WHERE uid IN ( SELECT uid2 FROM friend WHERE uid1 = me() ) "; | |
$param = array( | |
'method' => 'fql.query', | |
'query' => $fql, | |
'callback' => '' | |
); | |
$fqlResult = $facebook->api($param); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ($user){ | |
$fql = "SELECT uid, name, sex FROM user WHERE uid IN ( SELECT uid2 FROM friend WHERE uid1 = me() ) "; | |
$param = array( | |
'method' => 'fql.query', | |
'query' => $fql, | |
'callback' => '' | |
); | |
$fqlResult = $facebook->api($param); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ($user){ | |
$fql = "SELECT uid, name, online_presence,pic_square, status,mutual_friend_count FROM user WHERE uid IN ( SELECT uid2 FROM friend WHERE uid1 = me() ) "; | |
$param = array( | |
'method' => 'fql.query', | |
'query' => $fql, | |
'callback' => '' | |
); | |
$fqlResult = $facebook->api($param); | |
#print_r($fqlResult); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ($user){ | |
$fql = "SELECT uid, name, online_presence,pic_square, status,friend_count FROM user WHERE uid IN ( SELECT uid2 FROM friend WHERE uid1 = me() ) "; | |
$param = array( | |
'method' => 'fql.query', | |
'query' => $fql, | |
'callback' => '' | |
); | |
$fqlResult = $facebook->api($param); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<script src="http://connect.facebook.net/en_US/all.js"></script> | |
</head> | |
<body class="skin-black"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$data_url = "https://kippt.com/api/clips"; | |
$ch = curl_init ($data_url); | |
curl_setopt($ch, CURLOPT_HEADER, 0); | |
curl_setopt($ch, CURLOPT_USERPWD, "username:password"); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
curl_setopt($ch, CURLOPT_BINARYTRANSFER,1); | |
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$search_url = (@$_GET['url']) ? : "http://ngiriraj.com/pincode/"; | |
$api_key = "xxxxxxxxxxxxxxxxxxx"; | |
//https://console.developers.google.com/ | |
$speed_url = "https://www.googleapis.com/pagespeedonline/v1/runPagespeed?url=".$search_url."&key=".$api_key; | |
print "URL : <BR>".$search_url; | |
$ch = curl_init ($speed_url); | |
curl_setopt($ch, CURLINFO_HEADER_OUT, true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"header": [ | |
[ | |
"State", | |
"Governor" | |
] | |
], | |
"data": [ |