Witam,
mam problem z metodą stream.publish, ponieważ jak nie skonstruuje kod to cały czas wyrzuca błędy, szukałem dość długo rozwiązania lecz nadal nie mogę tego ogarnąć.
  1. $attachment = array(
  2. 'name' => 'dfgdfgdfgd',
  3. 'href' => 'dfgdfgd',
  4. 'description' => 'dfgdfgd'
  5. );
  6.  
  7. $action_links = array( array('text' => 'Visit Us', 'href' => 'http://google.pl'));
  8. $send=$facebook->api(array('method'=>'stream.publish',
  9. 'message'=> 'trololo',
  10. 'attachment' => $attachment,
  11. 'action_links'=> $action_links,
  12. 'target_id'=>'100000738194392',
  13. 'uid'=>'100000738194392',
  14. 'access_token'=>$access_token));

Z góry dziękuje za pomoc, pozdrawiam.