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.
- Host: GitHub
- URL: https://github.com/fbsamples/fbrell
- Owner: fbsamples
- License: other
- Created: 2010-03-08T01:16:11.000Z (almost 16 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T19:41:29.000Z (almost 2 years ago)
- Last Synced: 2024-04-10T00:56:33.427Z (almost 2 years ago)
- Language: Go
- Homepage: https://www.fbrell.com/
- Size: 6.77 MB
- Stars: 11
- Watchers: 12
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# fbrell
[](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=...
```