2011-07-07 9 views

答えて

0

あなたもDBに保存し、その後、各APIの呼び出し

<?php 
$uid = $facebook->getUID(); 
$publishes = mysql_query("SELECT * FROM publishes WHERE uid = ".$uid." AND time > ".(time()-60*60*24); 
$publish = mysql_fetch_assoc($publishes); 
if (!$publish['time']) 
{ 
    //call api and post a post to a wall 
} 
前にそれを確認し、彼/彼女の壁に何かを公開するAPIを呼び出してください
関連する問題