本文整理汇总了PHP中Facebook::require_sess方法的典型用法代码示例。如果您正苦于以下问题:PHP Facebook::require_sess方法的具体用法?PHP Facebook::require_sess怎么用?PHP Facebook::require_sess使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Facebook
的用法示例。
在下文中一共展示了Facebook::require_sess方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: die
$al_img = $_POST['imgname'];
$host = "localhost";
$db_user = "sibzsolu_dbuser";
$db_pass = "u1FZQC8A";
$db = "sibzsolu_10th";
$link = mysql_connect($host, $db_user, $db_pass) or die(mysql_error());
mysql_select_db($db);
$ins = "insert into facebook (alb_name,alb_img) values('" . $al_name . "','" . $al_img . "')";
mysql_query($ins);
include "facebook.php";
$aa = "c08a709fe65cfce6bc1e9a535cc82ffd";
$bb = "ecf805fb1de22d1d13e311c07f434318";
$facebook = new Facebook($aa, $bb);
$al_name = $_POST['album'];
$al_img = $_POST['imgname'];
$facebook->require_sess($_POST['album']);
//$facebook->require_sess1($_POST['imgname']);
$facebook->require_frame($aa);
$user = $facebook->require_login();
// $file="http://projects.sibzsolutions.net/rumbaa/applicationtesto/abc.jpg";
$auth_token = $_REQUEST['auth_token'];
//$rr=$facebook->require_sess();
//echo "ddd".$_SESSION['albimg']; exit;
$fbres = $facebook->api_client->auth_getSession($auth_token);
$fb_sig_user = $_REQUEST['fb_sig_user'];
$your_message = "hi";
//$album_id="2044358";
//$response_array = $facebook->api_client->photos_upload($file, $album_id, $your_message, $fb_sig_user);
//var_dump($album_arr);
$ins1 = "select * from facebook limit 1";
$ww = mysql_query($ins1);