Sha256: 1bda65f168b3cfeeecf0bdb4ebc2e13f22b4e0634fcd53ce5a5569757e8c7178
Contents?: true
Size: 725 Bytes
Versions: 138
Compression:
Stored size: 725 Bytes
Contents
module Facebooker class ServerCache def initialize(session) @session = session end # # Stores an FBML reference on the server for use # across multiple users in FBML def set_ref_handle(handle_name, fbml_source) (@session.post 'facebook.fbml.setRefHandle', {:handle => handle_name, :fbml => fbml_source},false) == '1' end ## # Fetches and re-caches the content stored at the given URL, for use in a fb:ref FBML tag. def refresh_ref_url(url) (@session.post 'facebook.fbml.refreshRefUrl', {:url => url},false) == '1' end def refresh_img_src(url) (@session.post 'facebook.fbml.refreshImgSrc', {:url => url},false) == '1' end end end
Version data entries
138 entries across 138 versions & 31 rubygems