This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
beboist /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Mar 30 18:48:50 -0700 2008 | |
| |
KNOWN_ISSUES | Sun Mar 30 18:48:50 -0700 2008 | |
| |
README | Fri Oct 17 22:08:46 -0700 2008 | |
| |
generators/ | Sun Mar 30 18:48:50 -0700 2008 | |
| |
init.rb | Mon May 19 13:57:44 -0700 2008 | |
| |
install.rb | Mon May 19 13:57:44 -0700 2008 | |
| |
lib/ | Mon Jul 28 16:47:36 -0700 2008 | |
| |
spec/ | Sun Mar 30 18:48:50 -0700 2008 | |
| |
tasks/ | Sun Mar 30 18:48:50 -0700 2008 | |
| |
uninstall.rb | Sun Mar 30 18:48:50 -0700 2008 |
README
Beboist
=======
The Beboist plugin provides a Rails interface to the Bebo Social Networking API.
The plugin was designed from the ground-up to be flexible enough to accommodate
any changes to the API, while at the same time providing a clean interface
that will be familiar to most Rails developers.
Setup
=====
1. Ensure the Beboist plugin is installed in your vendor/plugins folder
2. Generate your config/bebo.yml file using: script/generate beboist_settings
3. Fill in your appropriate app settings in bebo.yml. Ensure that your app name is right.
4. Generate the first migration for your users table using: script/generate beboist_user_migration
5. rake db:migrate
6. In your application.rb, insert the following:
include BeboControllerExtensions
before_filter :reject_unadded_users
before_filter :find_bebo_user
7. Write your app, and keep an eye on your logs to catch any possible error messages.
Notes
=====
- The Beboist plugin uses Bebo's JSON API, and the 'json' gem to directly convert JSON objects to Ruby.
- Works with Rails 2.0+, untested on Rails 1.2.
- Look at the KNOWN_ISSUES file to see a list of currently open issues.
- For a full list of methods, look at lib/bebo_api/bebo_types.rb within the plugin
Calling Bebo Methods From Your App
==================================
All of the methods listed in Bebo's API are available in the following format, with the namespaces
precluded by 'Bebo':
users.getInfo(:uids => "1,2,3") -> BeboUsers.get_info(:uids => [1,2,3])
Dependencies
============
json
Acknowledgements
================
David Naffis for technical help
Chad Fowler for his wonderful Facebooker plugin.
Copyright (c) 2008 Intridea, Inc.
Author: Pradeep Elankumaran
Released under the MIT license







