Skip to content
No description, website, or topics provided.
Ruby Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
spec
.gitignore
.rspec
.travis.yml
CODE_OF_CONDUCT.md
Gemfile
README.md
Rakefile
nopio_scraper.gemspec

README.md

NopioScraper

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file lib/nopio_scraper. To experiment with that code, run bin/console for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

Installation

Add this line to your application's Gemfile:

gem 'nopio_scraper'

And then execute:

$ bundle

Or install it yourself as:

$ gem install nopio_scraper

Usage

This gem allows to sign in, sign up, invite a friend or like a page on Facebook.

Creating an account on Facebook:

scraper = NopioScraper::Facebook.new('piotr.jaworski@nopio.com', 'your_password')
scraper.create_account(first_name: 'Piotr', last_name: 'Jaworski', sex: 'male', day: '1', month: 'Jan', year: '1993')

Loging to Facebook:

scraper = NopioScraper::Facebook.new('piotr.jaworski@nopio.com', 'your_password')
scraper.login

Liking a page:

scraper = NopioScraper::Facebook.new('piotr.jaworski@nopio.com', 'your_password')
scraper.like_page('nopio')

Invitng a friend:

scraper = NopioScraper::Facebook.new('piotr.jaworski@nopio.com', 'your_password')
scraper.invite_friend('Piotr Jaworski')

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/nopio/nopio_scraper. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

You can’t perform that action at this time.