Sha256: 08841edffc21c52172e8e460209ef973b658f957d7ffc67031b4598631c3cf24
Contents?: true
Size: 673 Bytes
Versions: 2
Compression:
Stored size: 673 Bytes
Contents
# FacebookEvents FacebookEvents pulls Event data from the Facebook graph for a particular user or page id. Events are returned as an array. ## Setup [Register your App on Facebook](https://developers.facebook.com/apps) Define your constants for Facebook APP ID (API Key) and APP Secret: ``` FacebookEvents::FACEBOOK_APP_ID = '###' FacebookEvents::FACEBOOK_SECRET = '###' ``` ## Use ``` events = FacebookEvents.new(facebook_id) events.list events.list.first ``` Returns an array of Events with attributes for facebook_id, name, start_time, end_time, location, description, updated_time. ### Dependencies Requires the [MiniFB gem](https://github.com/appoxy/mini_fb).
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facebook_events-0.0.2 | README.md |
facebook_events-0.0.1 | README.md |