publishUserAction is beta, publishActionOfUser is deprecated? Help!

May 11, 2009 at 7:13 PM

Hello, I recently started implementing the Facebook Developer Toolkit on a Facebook Connect site to link accounts and publish stories to user's feeds.  I've managed to figure most of this out through documentation and this forum.  However, I'm very confused on one aspect:

The 2.0 version of the toolkit only has the function feed.publishUserAction which, according to Facebook, requires the publish_stream extended permission of the Open Stream API.  However, this is still in beta and therefore the permission is only grantable by developers of your application (stream.Publish requires the same extended permission)!!  I've figured out how to get this to work, but it obviously doesn't help for normal users (non-developers) of my website!

However, what appear to be the former methods: publishStoryToUser and publishActionOfUser are apparently deprecated by Facebook and no longer in the Toolkit v2.0 either!

So what am I supposed to use right now??  Am I entering this at a bad time?  Any idea when the Open Stream API will be out of beta?  Are most people still using an older toolkit version and the deprecated API functions?

Please help!  Thank you in advance.

May 11, 2009 at 9:49 PM

publishUserAction  is not in beta. stream.publish (or something like this is)

 

You can ask user for permission using fb connect (http://wiki.developers.facebook.com/index.php/Creating_a_Popup_Dialog_in_an_IFrame, http://wiki.developers.facebook.com/index.php/Trying_Out_Facebook_Connect, http://wiki.developers.facebook.com/index.php/Extended_permission) and then use publishUserAction  to post short stories

May 11, 2009 at 10:03 PM

Sorry, I misspoke in the title, though my post is correct... Although publishUserAction is not beta, the extended permission publish_stream is.  Even on the link you provided, you'll notice the note:

Note: At this time, while the Open Stream API is in beta, the only Facebook users that can grant your application thepublish_stream permission are the developers of your application.

So, again, if this permission is beta (which publishUserAction and stream.Publish both rely on) and the old methods are deprecated, what am I supposed to use?

May 11, 2009 at 10:10 PM

interesting, i missed that.... but this is very strange since FB already implemented this in their API. if you edit some apps settings, you can show give this permission... need to look further i guess

May 11, 2009 at 10:20 PM

he he, yea confirmed. "publish_stream" is in bate

so, this takes me back to my problem of the day since there now does not appear to be anyway of users of an app to allow short stories to be published!

http://forum.developers.facebook.com/viewtopic.php?id=33709

 

 

May 11, 2009 at 10:24 PM

Thanks for the link.  I'll keep an eye on your post to watch for responses.  Indeed, it seems they're preparing for the new methods, but disabled the old ones too soon!  Knowing when the beta period will be over would help at least, but I haven't seen hitned at anywhere either.

There are plenty of apps out there posting short stories though... so how are they doing it??

May 11, 2009 at 10:31 PM

people could have given those apps permissions before, before FB removed a way to do so (or at least appearently).

or then pupop a form telling the user a story will be published