Welcome Guest, Not a member yet? Register   Sign In
Issues with Facebook Connect plugin
#1

[eluser]mwolf[/eluser]
I'm using the facebook connect plugin by Elliot Haughin and I got the basic connect working fine, but now I'm running in to issues when trying to call certain methods from the facebook api. Below is the code i'm trying to use:

Code:
$has_permission = $this->facebook_connect->client->users_hasAppPermission("publish_stream");

if(!$has_permission){
    echo "<br /><fb:prompt-permission perms=\"publish_stream\">Publish results on your wall!!</fb:prompt-permission>";
}else{
    $this->facebook_connect->client->stream_publish($message);
}
    $this->load->view('fbtest', $data);
}

And this is the error:

Fatal error: Call to undefined method FacebookRestClient::users_hasAppPermission()

Any idea why this isn't working?

http://developers.facebook.com/docs/?u=f...Permission


Messages In This Thread
Issues with Facebook Connect plugin - by El Forum - 03-31-2010, 03:53 PM
Issues with Facebook Connect plugin - by El Forum - 04-01-2010, 01:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB