Solved

facebook publish stream

Posted on 2010-09-07
1
1,982 Views
Last Modified: 2014-04-25
I know this question has come up before but all the solutions are outdated given
the new facebook php sdk.

I have an application that allows app users to upload images. I've got that down

But after the user uploads an image I want a message to be published to their stream.

without $fb->api_client->publish_stream( ...) which is depreciated. I can't for the life of me get this to work with $fb->api( ... )

I have all the right permissions etc so that is not the issue.

I've tried
$facebook->api($uid."/feed","GET",array('message'=>'hello mesage'))

Open in new window


which on the var_dump of the return is
 array(1) { ["data"] => array(0) { }}

Open in new window


I've looked at just about every page regarding publish stream on facebook but nothing

I want to do this server side so I'd prefer not to use the javascript SDK

does anyone know how this works or knows of a current example?



0
Comment
Question by:jason_rsc
1 Comment
 
LVL 29

Accepted Solution

by:
Kumaraswamy R earned 500 total points
ID: 33615888
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question