Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

facebook publish stream

Posted on 2010-09-07
1
Medium Priority
?
2,070 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 2000 total points
ID: 33615888
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
This article discusses how to implement server side field validation and display customized error messages to the client.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month9 days, 16 hours left to enroll

926 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