2011-08-06 7 views

答えて

3

this記事を読むか、this PHPクラスを使用してください。それは非常に簡単です:

<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> 

それでもworiedしている場合は、ユーザーのウォールに投稿する方法、this公式記事

+0

wallpost 「私のデータにいつでもアクセスする」をお読み?????? ?? –

+0

@Yusufali:答えは編集:http://developers.facebook.com/docs/reference/rest/stream.publish/ – genesis

+0

私は壁のポストを知っていますが、私はYusufとしてwallpostしたいです。私はこれを見つけるが、働いていない。 :http://stackoverflow.com/questions/4478497/posting-to-a-friends-wall-on-facebook-privately-using-graph-api –

関連する問題