Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 1st, 2012  |  syntax: None  |  size: 0.40 KB  |  hits: 26  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Unknown path components using PHP to post
  2. Unknown path components: /mv-news:read
  3.        
  4. try {
  5.     $urlartigo = get_permalink();
  6.     $story_id = $facebook->api('/me/mv-news:read?article='.$urlartigo.'','POST');
  7. } catch (FacebookApiException $e) {
  8.     echo '<pre>'.htmlspecialchars(print_r($e, true)).'</pre>';
  9. }
  10.        
  11. $story_id = $facebook->api('/me/mv-news:news.reads','post', array('article' => $urlartigo));