Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
05-01-2010, 12:03 PM #1
- Join Date
- May 2010
- Thanked 0 Times in 0 Posts
Stream Publish to Fan Page not displaying into the actual area
I have an application called "Vegas D Sports" by using I am submitting text to a fan page. Here is the code:
$target_id = XXXXXXXXXXXX;
$user_id = XXXXXXXXXXXX;
$session_key = FB_SESSION;
$facebook = new Facebook(FB_APIKEY, FB_SECRET);
$facebook->api_client->session_key = FB_SESSION;
$facebook->api_client->expires = 0;
$attachment = array(
'name' => 'NBA Basketball Updates',
'href' => 'http://vegasdsports.com/main/moreFeeds.php?flag=bb');
$action_links = array(
array('text' => 'Read entire article',
'href' => 'http://vegasdsports.com/main/feedsDetail.php?article_id=27319'));
$facebook->api_client->stream_publish("Oakland Raiders quarterback JaMarcus Russell is on the verge of being released and it could come before the weekend, per ESPN's John Clayton",$attachment,$action_links,$target_id);
Can anyone tell me what php code I need to write in order to display into the proper area. Right now it is displaying into the other section tab, not the actual page name tab. I require to show to the page name tab.
Looking for the kind help and best possible answer.