0

I followed the tutorial here http://yardoc.org/docs/mmangino-facebooker/Facebooker/User#publish_story-instance_method using

@user.publish_to(@user, :message => 'hello world')

Where @user is an instance of Facebooker::User.

This method call causes the application to error out. Any help?

user94154
  • 16,176
  • 20
  • 77
  • 116
  • What do you mean by "error out"? We can't help you unless you tell us what error you're getting. – Jordan Running Jan 02 '10 at 06:23
  • I know it's a bit vague. I have my application running in a production environment so the error isn't output. Is there some other code I need, ie does the user need to give permission to receive notifications? – user94154 Jan 02 '10 at 06:54
  • If your app isn't really in production you can put into your facebook app settings your development url (e.g. http://localhost:3000). Second: you can tail the production log and tell us (and yourself first) the error. – makevoid Jan 02 '10 at 09:08
  • Ok, I figured out how to tail the log file. Apparently Facebook deprecated the api method "facebook.feed.publishActionOfUser". Anyone know of any _up_to_date_ tutorials? – user94154 Jan 02 '10 at 22:23

2 Answers2

1

This worked for me: http://groups.google.com/group/facebooker/browse_thread/thread/2300ee8a38a064dc

roncito
  • 36
  • 2
0

my solution http://gist.github.com/267412

user94154
  • 16,176
  • 20
  • 77
  • 116
  • Hey can you please update with the exact steps you took to get this working. I am also trying to do this. Thanks. – Amir Jan 13 '10 at 05:42
  • facebooker_publisher.rb goes in the lib folder. try the gist and let me know where you run into a wall. – user94154 Jan 14 '10 at 02:27