Closed LucasLMartini closed 12 years ago
As replied to StackOverflow, :picture
is working for me..
Did you test it on Rails > 3.1? From your example it seems you're running on the Bamboo stack, not Cedar.
My test is pretty much identical, running Rails 3.1.3, and it does not work (I'm removing useless text from the call):
user.feed!( :message => "#{@entrada.usuario.nome} .....", :link => "https://www.facebook.com/......", :picture => "http://[OMITTED].herokuapp.com/assets/LOGO.JPG", :name => "---------", :description => "------" )
I'm running my script on my local in ruby 1.9.2
Rails 3.1? Cedar stack? What are you saying? fb_graph is rubygem, not rails plugin or heroku addon. It doesn't require rails nor heroku.
Plus if you want let me debug, you should give me more detailed info. eg.) Graph API error messages or at least actual code, not omitted.
Oh, my bad, for some reason I presumed this was a Rails plugin. I'll send you logs in PM.
Ok, I've tried a few more tests. Apparently, this might actually be an issue with Facebook and not your code at all. That example I sent you via e-mail used a very small image; and perhaps it was getting rejected because of that.
I've since tried with a larger image for the :picture param and it went through fine; I'm closing this. Thanks!
Can't get the :picture parameter to work in Rails 3.1.3 with users that have timeline enabled (everyone now?). Found the issue in Stack Overflow too:
http://stackoverflow.com/questions/8967377/rails-3-fb-graph-posting-to-timeline-doesnt-show-image