nsanta / fbgraph

Facebook Open Graph API in Ruby
MIT License
324 stars 40 forks source link

undefined method `token' in version 0.1.4 of the gem #9

Closed thb closed 14 years ago

thb commented 14 years ago

With version 0.0.9:

client.selection.me.picture /me/picture => "https://graph.facebook.com/me/picture?access_token=XXX"

With version 0.1.4:

client.selection.me.picture NoMethodError: undefined method token' for #<RestClient::Resource:0xb65ffff8> from /usr/lib/ruby/gems/1.8/gems/fbgraph-0.1.4/lib/fbgraph/selection.rb:44:inpicture' from (irb):6

nsanta commented 14 years ago

fixed on master

nsanta commented 14 years ago

closed

websymphony commented 14 years ago

I am still getting the same error. Am on version 0.1.4 and rails 3.0.0

nsanta commented 14 years ago

update the version

websymphony commented 14 years ago

Sorry to bug you again, but I am already on 0.1.4, isn't it the latest version?

nsanta commented 14 years ago

the last version is 0.1.6 and was released 1 hour ago

websymphony commented 14 years ago

Just updated it. Now when I use the following call: client.selection.me.picture It is being resolved to following URL: https://graph.facebook.comme/picture?access_token=xxxxxxx Instead of: https://graph.facebook.com/me/picture?access_token=xxxxxxx

nsanta commented 14 years ago

bumped new version with fix

websymphony commented 14 years ago

Awesome! Thanks a bunch. :)

nsanta commented 14 years ago

Thanks to you. Was my fault and i try to keep the users happy.