开发者

facebook wallpost to friend list?

I want to wallpost user's friends as user. (and maybe invite) Is this possible?

if this is possible:

whats the required?开发者_如何学运维 how can i this?

This is my facebook application.


Read this article or use this PHP class. It's quite simple:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
    <head>
       <title>Facebook Invite Friends PHP Example</title>
    </head>
    <body>
        <?php
            require_once 'facebook.php';
            require_once 'faceconn/faceconn.php';
            UseGraphAPI();

            $invite1 = new InviteFriends();
            $invite1->SetMainTitle("Main title");
            $invite1->SetContent("This is Facebook invite friends content.");                        
            $invite1->Render();
        ?>    
    </body>
</html>

If you're still woried how to post to user's wall, read this official article

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜