Displaying 2 results from an estimated 2 matches for "mypublisher".
2008 Mar 11
2
trouble with MyPublisher.deliver_story
hi,
I can''t seem to be able to delivery stories!
I have this in my controller
MyPublisher.deliver_story(@current_facebook_user.friends.first,
@current_facebook_user, @object.id)
This is in models/my_publisher.rb
# story is published to the story of the to user
def story(to, f, object_id)
send_as :story
recipients to
title "An object?"
body "...
2008 Apr 08
3
Session Expired for Profile Publishing
...9;
Using a publisher isn''t helping. Publisher code:
def profile_update(user, session_user = user)
send_as :profile
from session_user
recipients user
profile render( :partial => ''profile'',:assigns => { :profile_user => user })
end
...
MyPublisher.deliver_profile_update( @user )
Results in:
Facebooker::Session::SessionExpired (Session key invalid or no longer valid):
/vendor/plugins/facebooker/lib/facebooker/parser.rb:386:in `process''
/vendor/plugins/facebooker/lib/facebooker/parser.rb:15:in `parse''
/vendor/pl...