An open API service indexing awesome lists of open source software.

https://github.com/fbsamples/fbrell

An interactive environment to explore the Facebook JavaScript SDK.
https://github.com/fbsamples/fbrell

Last synced: 10 months ago
JSON representation

An interactive environment to explore the Facebook JavaScript SDK.

Awesome Lists containing this project

README

          

# fbrell

[![Build Status](https://secure.travis-ci.org/fbsamples/fbrell.svg)](https://travis-ci.org/fbsamples/fbrell)

Facebook Read Eval Log Loop is an interactive environment for exploring the
Facebook JavaScript SDK. The SDK is available
[here](https://developers.facebook.com/docs/reference/javascript/).

[Try it out](https://www.fbrell.com/examples/).

## Development Environment

You'll need [Go](https://golang.org/) to work on rell. Once you have it:

```bash
git clone git@github.com:fbsamples/fbrell.git
cd fbrell
go get ./... # this will install your dependencies
go build # This will create a fbrell executable file
./fbrell
```

Then, navigate to http://localhost:43600/

Hazzah!

Then go to [http://localhost:43600/](http://localhost:43600/). Look at the help
text from `rell -h` to see what other options are available. You'll need your
own [Facebook Application](https://developers.facebook.com/).

## Heroku

The application can be run on Heroku:

```sh
heroku create -s cedar
heroku config:add BUILDPACK_URL=http://github.com/kr/heroku-buildpack-inline.git
heroku config:set RELL_EMPCHECK_APP_ID=...
heroku config:set RELL_EMPCHECK_APP_SECRET=...
heroku config:set RELL_FB_APP_ID=...
heroku config:set RELL_FB_APP_NS=...
heroku config:set RELL_FB_APP_SECRET=...
```