Solved

facebook publish stream

Posted on 2010-09-07
1
2,000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Wordpress and Wufoo 1 36
locate sql commands in C# visual studio Project 6 35
Record locking on classic ASP 3 36
How do i use the await event in php echo 5 13
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

685 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