সোমবার, ২৪ সেপ্টেম্বর, ২০১২

Problems Publishing Actions with Facebook SDK for PHP

I've added the following code into the "body" section:

<?php   require "php-sdk/facebook.php";   $facebook = new Facebook(array(     'appId'=>'xxxxxxxxx',     'secret'=>'xxxxxxxxxxxxxxxxx',     'cookie'=>true   ));   if(!$facebook->getUser()) {     $url = $facebook->getLoginUrl(array('scope'=>'publish_actions'));     echo "<script> top.location=\"".$url."\"; </script>";     exit(0);   }   $params = array('photo'=>'' . site_url( $this->uri->uri_string() ) . '',       'access_token'=>$facebook->getAccessToken());   $out = $facebook->api('/me/marcellusmusic:love','post',$params);   print_r($out); ?> 

I received the following error:

Uncaught OAuthException:   Unknown path components:     /app_marcellusmusic:love thrown in /home/content/88/4739388/html/php-sdk/base_facebook.php on line 1238' 

Any advice?

Source: http://facebook.stackoverflow.com/questions/12557798/problems-publishing-actions-with-facebook-sdk-for-php

nitrous oxide rihanna thug life tattoo chuck pagano arizona governor seal team 6 patrick witt leprosy

কোন মন্তব্য নেই:

একটি মন্তব্য পোস্ট করুন