Generic-user-small Allen Walker 19 posts

Getting the following error when I try to register my Publisher:

Facebooker::Session::MissingOrInvalidParameter: The small story template is a required parameter, and it must be of type string from /home/slick/meetingup/vendor/plugins/facebooker/lib/facebooker/parser.rb:450:in `process’ from /home/slick/meetingup/vendor/plugins/facebooker/lib/facebooker/parser.rb:15:in `parse’ from /home/slick/meetingup/vendor/plugins/facebooker/lib/facebooker/service.rb:13:in `post’ from /home/slick/meetingup/vendor/plugins/facebooker/lib/facebooker/session.rb:456:in `post’ from /home/slick/meetingup/vendor/plugins/facebooker/lib/facebooker/session.rb:313:in `register_template_bundle’ from /home/slick/meetingup/vendor/plugins/facebooker/lib/facebooker/rails/publisher.rb:360:in `method_missing’

the code called:

ActivityPublisher.register_action

ActivityPublisher:

def action_template
  one_line_story_template "{actor}at {location} on {date} ." 
  short_story_template "{actor} at {location} on {date} ", render(:partial => "short_body")
end
def action(user, activity)
  send_as :user_action
  from user.facebook_session.user
  data :location => activity.location,
       :date => activity.scheduled_at.strftime("%A, %b %d")
end

Here’s a forum talking about the issue wrt to PHP:

http://bugs.developers.facebook.com/show_bug.cgi?id=2793

Thanks for any help

 
Head_small Mike Mangino 148 posts

This happens when you are pointing to the old Facebook API servers. I will make a change to Facebooker today so that this will be fixed by default. Give me a few hours and then update your Facebooker install.

2 posts, 2 voices