後來用此方式
https://developers.facebook.com/docs/reference/dialogs/add_to_page/
簡單的php code
$app_id = '1234567890'; //app id
$next = 'http://tw.yahoo.com/'; //完成後導向
$redir = 'https://www.facebook.com/dialog/pagetab?app_id='.$app_id.'&next='.urlencode($next);
header('Location: '.$redir);
沒有留言:
張貼留言