class FacebookSocialPlugins::Plugin::AddToTimeline
Also see AddToTimeline.txt of this gem for example of using OpenGraph with this feature.
Public Class Methods
new(options = {})
click to toggle source
Calls superclass method
# File lib/facebook-social_plugins/plugin/add_to_timeline.rb, line 4 def initialize options = {} super end
Public Instance Methods
attributes()
click to toggle source
mode - the display mode - box (default) and button show_faces - whether to show faces
Calls superclass method
# File lib/facebook-social_plugins/plugin/add_to_timeline.rb, line 14 def attributes super.merge(:show_faces => :boolean, :mode => ['box', 'button']) end
plugin_class()
click to toggle source
# File lib/facebook-social_plugins/plugin/add_to_timeline.rb, line 8 def plugin_class 'fb-add-to-timeline' end