Re: Fb_graph issue

島 涼平
Mon, 14 Nov 2011 06:36:25 -0000

Hi.

I think, the feed! method requires an access token.

(2011/11/13 21:37), Abhishek shukla wrote:
> Hello Friends
>
>
> I am using fb_graph to post on user wall
"https://github.com/nov/fb_graph"
>
> As mentioned in the document I am using the same code
>
> me = FbGraph::User.me(current_user.fb_token)
> me.feed!(
>    :message =>  ''Updating via FbGraph'',
>    :picture =>
''https://graph.facebook.com/matake/picture'',
>    :link =>  ''https://github.com/nov/fb_graph'',
>    :name =>  ''FbGraph'',
>    :description =>  ''A Ruby wrapper for Facebook Graph
API''
> )
>
> But somehow I am getting the following error:
>
> FbGraph::Unauthorized: FbGraph::Unauthorized
>
> Could anyone had faced the similar issue? I''ll be really thankful
for any help
>
> Thanks
> Abhis
>
>
> --
> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.


--
-----------------------------------
    (株)エス・ジー 第２事業部
             島　涼平
       TEL  (03) 5444-5712
       MAIL shima-r-1II+bw0fZUx3+QwDJ9on6Q@public.gmane.org
-----------------------------------

--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at