tags:

views:

10

answers:

0

Hello

I have an application that runs within a facebook canvas page, in an iframe. I have setup a page called wallpost.php that I can call from within that canvas page that will make a post on a users wall, but I want to call that page from my application, instead of the canvas page..

So, my page currently does this after the message is setup etc..:

$facebook->api_client->stream_publish($message, $attachment);

And this works fine from the canvas page...

But when I call the wallpost.php page from my application it does not work. I am guessing it is because the session is not valid...

So, how can I make a call to that page that will work from within my application? Can I pass it the userID and sessionID and use that within the api call to make it work...

Thoughts?

Thanks

related questions