[Facebooker2] Question about apprequests_create method

1 view
Skip to first unread message

Jia Feng

unread,
Aug 24, 2011, 2:17:20 PM8/24/11
to facebooker
Hi,

I'm trying to use apprequests_create, but it always returns
Mogli::Client::HTTPException error.

/Library/Ruby/Gems/1.8/gems/mogli-0.0.30/lib/mogli/client.rb:215:in
`raise_error_if_necessary'
/Library/Ruby/Gems/1.8/gems/mogli-0.0.30/lib/mogli/client.rb:151:in
`map_data'
/Library/Ruby/Gems/1.8/gems/mogli-0.0.30/lib/mogli/client.rb:116:in
`post'
/Library/Ruby/Gems/1.8/gems/mogli-0.0.30/lib/mogli/model.rb:113:in
`feed_create'

So I try the feed_create example, like this:
current_facebook_user.feed_create(
Mogli::Post.new(:name => "#{current_facebook_user.name}
sent a note using notes!",
:link=> "www.google.com",
:description=>"testing"))

Got the same error.

I'm wondering is it because I didn't follow the steps in the readme of
mogli (https://github.com/mmangino/mogli)?

Thanks,
Jia
Reply all
Reply to author
Forward
0 new messages