0.0
No commit activity in last 3 years
No release in over 3 years
Given a Facebook page or user id, this gem will return an array of its events.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 1.1.7
 Project Readme

FacebookEvents

FacebookEvents pulls Event data from the Facebook graph for a particular user or page id. Events are returned as an array of hashes.

Setup

Register your App on Facebook

Define your constants for Facebook APP ID (API Key) and APP Secret:

FacebookEvents::FACEBOOK_APP_ID = '###'
FacebookEvents::FACEBOOK_SECRET = '###'

Use

events = FacebookEvents.list(facebook_id)

Returns an array of hashes – with attributes for id, name, start_time, end_time, location, description, updated_time.

Dependencies

Requires the MiniFB gem.