更新时间:2023-12-01 20:09:58
如果你正在处理facebook app标签页,下面的代码可以帮助你找到isfan
状态
If you are dealing with facebook app tab page, the following code helps you to find isfan
status
$signed = parse_signed_request($_REQUEST['signed_request'], 'YOUR-APP-SECRET');
if ($signed['page']['liked'] == 1) {
$fan = true;
} else {
$fan = false;
}
访问此链接以获取演示和源代码代码.
Visit this link for demo and source code.