search for: profile_fbml

Displaying 3 results from an estimated 3 matches for "profile_fbml".

2008 Jul 28
2
Profile updates using profile_main
...tes. What I had been using prior to updating to the newest Facebooker and works fine with the old FB site is this: def profile_update(facebook_user, user, install_url) send_as :profile from facebook_user recipients facebook_user fbml = render(:partial=>"/facebook/profile_fbml",:locals => { :user => user, :fb_user => facebook_user, :install_url => install_url }) profile(fbml) end My understanding is the new FB site requires that you use profile_main to get your app box posted as before, so I changed the above to: def profile_update(fac...
2008 Jan 14
0
Setting profile FBML for a Facebook Page
...a Facebook Page, http://www.facebook.com/business/?pages. Facebook Pages act like users but are more for businesses and Bands. It looks like the current Facebooker API doesn''t currently support setting the Profile FBML for a Page. The current code for setting the proflie is this: def profile_fbml=(markup) session.post(''facebook.profile.setFBML'', :uid => @id, :markup => markup) end The UID is actually hard coded to be the authenticated User. This is more restrictive than the Facebook API allows. You can actually pass in any User ID. And Facebook pages a...
2008 Apr 08
3
Session Expired for Profile Publishing
Ok. I''m not having any success with publishing profile FBML. Example code: class WelcomeController < ApplicationController layout "facebook" ensure_application_is_installed_by_facebook_user def index @user = facebook_session.user ... @user.profile_fbml = render_to_string( :template => ''welcome/profile'' ) end end Results in this error: Facebooker::Session::SessionExpired (Session key invalid or no longer valid): /vendor/plugins/facebooker/lib/facebooker/parser.rb:386:in `process'' /vendor/plugins/faceboo...