954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Question|Post status to Page Wall

Hello,
I'am really new to all this Facebook development, and I wanted to integrate Facebook within my personal website.
I am now trying to test if what I want is possible.

I want to post a status from my server, via php/js to my Page in Facebook.
How can I do so?

B.W.
I saw that there is this FBJS function called "Facebook.streamPublish"
But I don't know how to integrate it.
Is there any possible way to do so?

Can you give me an example?

-Secondly, what is an access token?

agam360
Light Poster
27 posts since Jun 2009
Reputation Points: 9
Solved Threads: 0
 

What have you tried implementing it?
An access token is a token that your app can do things in Facebook with on the user's behalf.

twiss
Veteran Poster
1,005 posts since Apr 2010
Reputation Points: 177
Solved Threads: 101
 

I want:
A way to post a Facebook status to my page on Facebook, from an external website that i own.How do I do so?

Is it clear to you now?

agam360
Light Poster
27 posts since Jun 2009
Reputation Points: 9
Solved Threads: 0
 

Wow. The question was: what did you try?

twiss
Veteran Poster
1,005 posts since Apr 2010
Reputation Points: 177
Solved Threads: 101
 

Sorry,
I have tried:

$facebook->api_client->session_key = ##tricky part....
 $response = $facebook->api(array(
  'method' => 'stream.publish',
  'message' => 'Test from dreafmhosters.com',
  'target_id' => '220095158019707'
 ));


And this: http://thinkdiff.net/facebook-connect/php-sdk-3-0-graph-api-base-facebook-connect-tutorial/


Nothing worked so far...
Except the first one, but people told me that it is outdated, and I don't know what the session stands for(I couldn't find information about it that is connected to my code...) and how my friends could get there own session.

agam360
Light Poster
27 posts since Jun 2009
Reputation Points: 9
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: