开发者

facebook send button

I saw facebook send button Is there any 开发者_开发技巧way to use that service with PHP SDK?


I think the example here (http://developers.facebook.com/blog/post/494) sums it up pretty well:

<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
<fb:like href="example.com" show_faces="true" width="450" send="true">
</fb:like>

The PHP SDK doesn't offer any help for the send button. All you need is the JavaScript SDK. Insert the code above into one of your pages and replace example.com with your resource to send and you are done.


I guess the other answer is for a combined "send and like" button ..

Here is for only send :

<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js#appId=YOURAPPID&amp;xfbml=1"></script>
<fb:send href="example.com" font="arial"></fb:send>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜