Skip to content

nicholaspufal/facebook_page_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is a very simple parser for Facebook Pages (a.k.a fan pages), using the Graph API. This gem was made in 2 hours for an experimental project, so many small fixes need to be made. You're welcome to make a pull request :)

Installing

Include the gem on your Gemfile:

	gem 'facebook_page_parser'

Install it

	bundle install

Usage

Simple example:

	page = "http://www.facebook.com/pages/CAIXA-DE-IDEIAS/89888524723"
	fb = FacebookPageParser::Parser.new(page)
	fb.get["description"] #or any attribute you want from the API

Following the same example, to require a picture in a given type you could use:

	thumbnail = fb.page + "/picture&type=small"

About

Parser for Facebook Pages using the Graph API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages