[Facebooker-talk] publishing problems with facebooker
BJ Clark
bjclark at scidept.com
Sun Aug 10 22:29:00 EDT 2008
If the problem is simply the URL, then that can easily be changed to
the new url.
They suggest getting the new PHP lib, so it's hard to say if other
changes were necessary (with regard to the bug you linked to).
BJ Clark
On Aug 10, 2008, at 8:24 PM, Allen Walker wrote:
> This is also relevant:
>
> http://bugs.developers.facebook.com/show_bug.cgi?id=2793
>
> you guys recommend a workaround?
>
> Allen Walker wrote:
>> 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
>>
>>
>>
>> I read on some PHP forum they were having a similar error recently
>> and talked about something concerning the Lib is not pointing to
>> "api.new.facebook.com" and instead is pointing to "api.facebook.com".
>>
>> Thanks for any help
>>
>
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
More information about the Facebooker-talk
mailing list