[Facebooker-talk] publishing problems with facebooker
Zhao Lu
zhao.lu.us at gmail.com
Thu Aug 14 14:51:03 EDT 2008
The ENV is set through facebooker.yml in your project's config
directory. On the top of the default file you see this:
# To develop for the new profile design, add the following key..
# api: new
uncomment the api to set it to new.
Zhao
On Sun, Aug 10, 2008 at 7:59 PM, BJ Clark <bjclark at scidept.com> wrote:
> Line 55 of session.rb
>
> Or upgrade to the newest version on github, it's already in there.
>
> BJ
>
>
> On Aug 10, 2008, at 8:56 PM, Allen Walker wrote:
>
>> So to change the URL, where do I go about doing that?
>>
>> thanks
>>
>> BJ Clark wrote:
>>>
>>> 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
>>>
>>> _______________________________________________
>>> Facebooker-talk mailing list
>>> Facebooker-talk at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/facebooker-talk
>>>
>>
>
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
>
--
Zhao
More information about the Facebooker-talk
mailing list