Yusuf ali
Yusuf ali

Reputation: 331

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.

Upvotes: 0

Views: 282

Answers (1)

genesis
genesis

Reputation: 50976

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

Upvotes: 3

Related Questions