Sunday, November 13, 2011

Re: [Rails] Fb_graph issue

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@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.


--
-----------------------------------
(株)エス・ジー 第2事業部
島 涼平
TEL (03) 5444-5712
MAIL shima-r@sgnet.co.jp
-----------------------------------

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate