English 中文(简体)
从facebook 应用程序获取应用程序数据
原标题:Retrieving appdata from facebook application

经过近两个小时的尝试 我在这里张贴这个,

我试图检索通过到脸书应用程序的参数列表。 这是我的应用程序, < a href="https://apps.facebook.com/ takesblyes/index.php" rel=“nofollows”>https://apps.facebook.com/ takesblyes/index.php

当我用这个 URL < a href= > 装入应用程序时, https://apps.facebook.com/takeblyes/index.php?id=5" rel="no follow" >https://apps.facebook.com/takeblys/index.php?id=5 , $signed_request[ap_data] 没有返回任何东西,

以下为我代码的一部分:

$facebook = new Facebook(array(
                 appId  =>  xxxxxxxxxxxx ,
                 secret  =>  xxxxxxxxxx ,
        ));

        $signed_request = $facebook->getSignedRequest();
        print_r($signed_request[ app_data ]);

我在应用程序设置中搜索“ lilow 签名请求”, 但未找到它

最佳回答

您的查询只打印签名请求中 < code> app_ data 部分。 此请求必须由您的应用程序通过查询字符串手动输入 。

要做到这一点,你的查询应该看起来是这样的:

< a href=" "https://apps.facebook.com/ takesblyes/index.php? appdata=id% 3D5% 26 page% 3D1, rel="nofollow" >https://apps.facebook.com/takeblys/index.php?apdata=id%3D5%26page%3D1

问题回答

暂无回答




相关问题
passing custom parameters to facebook fan page tab

I m unable to get custom parameters send to my facebook fan page tab. I m using php and is passing like this: http://www.facebook.com/pages/{page-name}/?sk=APP_ID&pass=1 but I m unable to read ...

post a feed on my facebook application fan page

I know how to post something on my wall $facebook->api( /me/feed/ , post , $feed); but how to post feed on my facebook application page and this feed must be posted by the app

Publish Feed To Facebook Jams Up PHP

I m using the php SDK for the Graph API, and everything is working fine-getting usernames, uploading photos etc. However, when I m trying to publish to the current user s feed, it just makes the page ...

Facebook FQL - All fanpage Events a User is Attending

I am trying to achieve the following via Facebook s Multiquery FQL, get a list of all Fan Page Events that i am Attending . I have the below logic, and have tried to implement something similar ...

How to login in website using facebook id

I have made a website on which a user has to log in using a username and password. I have seen these in so many website, we can connect through facebook account. And I want to add the same to my web ...

热门标签