Skip to content

query-string/Social-Bee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#social-bee Simple messaging wrapper for Facebook, Twitter, Vkontakte

Installation

gem install social-bee

Usage Example

# message_controller.rb

class MessageController < ApplicationController
    def create
        SocialBee::Facebook.new( :config => "config/social/facebook.yml" ).say_public( 'Beep!', params[:user_token] )
    end
end
# config/social/facebook.yml

development:
    app_id: [YOUR APP ID]
    app_key: [YOUR APP KEY]
    callback_url: http://localhost:3000/
production:
    app_id: [YOUR APP ID]
    app_key: [YOUR APP KEY]
    callback_url: http://www.host.name

About

Simple messaging wrapper for Facebook, Twitter, Vkontakte

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages