have you integrated your project with facebook before you run into
this problem?

if so, it's not so complicated
else, yes it's complicated

here is the way to do so using javascript




if you have integrated your application with facebook previously:
use this method: 
http://developers.facebook.com/docs/?u=facebook.jslib.FB.Connect.streamPublish
set the attachment, action_links, target_id to null
if u open the link above, u'll find this sentence: " If you specify a
target_id then the post appears on the Wall of the target and not the
user posting the item"
but, if the target_id is null, then it's assumed that the target is
the user him/herself




if you haven't integrated your application with facebook previously:
basically u have to create a facebook application (warning: you would
absolutely need web hosting since facebook requires your application,
even for development purpose, to run on internet, not intranet, let
alone pc)
then u need to initialize the facebook application using this method:
http://developers.facebook.com/docs/?u=facebook.jslib.FB.Facebook.init
then use this method: 
http://developers.facebook.com/docs/?u=facebook.jslib.FB.Connect.streamPublish
set the attachment, action_links, target_id to null
if u open the link above, u'll find this sentence: " If you specify a
target_id then the post appears on the Wall of the target and not the
user posting the item"
but, if the target_id is null, then it's assumed that the target is
the user him/herself


On Dec 28, 8:37 pm, comopasta Gr <[email protected]> wrote:
> Hi,
>
> I'm working on a site where users can update their Twitter and Facebook
> status. To do that the users provide the credentials and the status
> text.
>
> With Twitter that was piece of cake.
>
> But it looks soooo far from what is required from facebook
>
> Does anyone know what is the simplest way to update the facebook status?
> From the rails app (or even from javascript directly).
>
> I just want to set a new status (!!) and hope there is a way where the
> username and pass are given together with a new status and that's it.
>
> Sorry this might not belong here but I guess someone went over it
> before.
> I've seen many posts around about this issue and I wonder is that simple
> thing is so overcomplicated as it looks.
>
> Cheers.
> --
> Posted viahttp://www.ruby-forum.com/.

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to