fburl.cr
fburl
is a Twurl clone for Facebook.
- alpha stage: Support only system user.
Features
similar
- commands:
request
,alias
- implements: command pattern with
controller
dialect
- config: use TOML format rather than
YAML
Installation
Static Binary is ready for x86_64 linux
- https://github.com/maiha/fburl.cr/releases
Compile from source / Use as Crystal library
- See README.cr.md
Usage
config
% fburl config init
% vi ~/.fburlrc # set access_token
using http
% fburl /v2.10/me # perform the GET request
% fburl /v2.10/me -D - # dump header like cURL
- TODO: now support only
GET
method
using curl
aka. dryrun
% fburl /v2.10/me -n # print curl command
% fburl /v2.10/me -n | sh # run it
Roadmap
v1.0.0
- [ ] Command : Account
- [x] Command : Alias(basic)
- [ ] Command : Alias(placeholder)
- [ ] Command : Authorization(support user account)
- [x] Command : Config
- [x] Command : Request(GET)
- [ ] Command : Request(POST)
- [x] Command : Request(curl)
Contributing
- Fork it ( https://github.com/maiha/fburl.cr/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- maiha maiha - creator, maintainer