我的应用程序显示多个用户可以搜索的项目。 我想为每个项目设置一个相似的按钮, 这将自动使用 PHP 生成。 执行前, 我正尝试测试一些无效的东西 。
<div class="fb-like" data-href="http://www.example.com/index.php?item=1" data-send="true" data-width="450" data-show-faces="true"></div>
当我把它放在页面上时, 脸书像按钮一样没有出现,知道吗?
我的应用程序显示多个用户可以搜索的项目。 我想为每个项目设置一个相似的按钮, 这将自动使用 PHP 生成。 执行前, 我正尝试测试一些无效的东西 。
<div class="fb-like" data-href="http://www.example.com/index.php?item=1" data-send="true" data-width="450" data-show-faces="true"></div>
当我把它放在页面上时, 脸书像按钮一样没有出现,知道吗?
好吧,我已经设法解决它,
在您声明
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
FB.init({
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
</script>
I can view my application via the http://apps.facebook.com/app/ link and the content shows up correctly. I also added the application as a tab to a facebook page. However, when viewing the tab no ...
Our app is displaying its information in a way similar to that found on Facebook s "feed" page which shows a timeline of activity by members of the particular profile s network. I can see that could ...
I am using Facebook Connect for iPhone and following the official instructions. I use the following code to display the login dialog: FBLoginDialog* dialog = [[[FBLoginDialog alloc] initWithSession:...
I can view my application via the http://apps.facebook.com/myapplication/ link and the content shows up correctly. I also added the application as a tab to a facebook page. However, when viewing the ...
I m going to create a Facebook application which get informations (name and page_url) about Facebook page from his page_id. So i went to the Facebook Wiki and i found this API method which sounds good ...
I m working on a Facebook Application that generates wall posts. In testing these posts, I ve discovered that the Facebook Platform action of "liking" a post is failing. The specific error message ...
I was reading over the documentation yet I could not figure out how to call Facebook.showPermissionsDialog() in php include_once ./facebook-platform/php/facebook.php ; $facebook = new Facebook(my ...
If I plug in the facebook connect into my website, How can I prevent double signups? Lets say I have a user that s already signed up to my site but he clicked the connect with facebook, is there a ...