开发者

Facebook App as Page Tab

开发者 https://www.devze.com 2022-12-23 03:00 出处:网络
I\'m a little confused. I have created an app, and edited the profiles to add the tab. I created a quick sample app at app.facebook.com/myapp/tab.php with this code:

I'm a little confused.

I have created an app, and edited the profiles to add the tab. I created a quick sample app at app.facebook.com/myapp/tab.php with this code:

<?php

require_once '../php/facebook.php'; 

$apiKey = 'key'; 
$secret = 'secret'; 
$facebook = new Facebook($apiKey, $secret);
print 'Works';

?>

I cannot s开发者_如何学编程eem to find out how to add the tap to the page I have create. I click the + and there is nothing there, I've tried searching in the + tab.

Any ideas about adding the app as a tab?


you have to call profile.setFBML providing it the fbml for your tab, and give users of your canvas page the option to add it with a fb:add-section-button

http://wiki.developers.facebook.com/index.php/Tabbed_Profile

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号