Version, currently 23.0.024 versions
- 23.0.0latestOct 28, 2025
- 22.0.0not indexedOct 29, 2025
- 21.0.0not indexedOct 29, 2025
- 19.0.0not indexedOct 29, 2025
- 17.0.0not indexedOct 29, 2025
- 16.0.0not indexedOct 29, 2025
- 15.0.0not indexedOct 29, 2025
- 1.2.1not indexedOct 29, 2025
- 1.2.0not indexedOct 29, 2025
- 1.1.0not indexedOct 29, 2025
- 1.0.0not indexedOct 29, 2025
- 0.5.0not indexedOct 29, 2025
- 0.4.9not indexedOct 29, 2025
- 0.4.8not indexedOct 29, 2025
- 0.4.7not indexedOct 29, 2025
- 0.4.6not indexedOct 29, 2025
- 0.4.5not indexedOct 29, 2025
- 0.4.4not indexedOct 29, 2025
- 0.4.3not indexedOct 29, 2025
- 0.4.2not indexedOct 29, 2025
- 0.4.1not indexedOct 29, 2025
- 0.4.0not indexedOct 29, 2025
- 0.3.0not indexedOct 29, 2025
- 0.2.0not indexedOct 29, 2025
github.com/maiha/facebook.cr
CLI for the Facebook Marketing API.
10 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
facebook:
github: maiha/facebook.cr
version: ~> 23.0.0Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- maiha <maiha@wota.jp>
- Targets
fbgetfrom samples/fbget.crfacebookfrom src/cli/bin/facebook.crfacebook-pbfrom src/cli/bin/facebook.crfacebook-devfrom src/cli/bin/facebook.crfacebook-pb-devfrom src/cli/bin/facebook.cr
Dependencies
Runtime Dependencies
- var*github: maiha/var.cr
- curl*github: maiha/curl.cr
- pretty*github: maiha/pretty.cr
- protobuf-storage0.3.7github: maiha/protobuf-storage.cr
Development Dependencies
- cmds*github: maiha/cmds.crdev
- opts*github: maiha/opts.crdev
- shell*github: maiha/shell.crdev
- clickhouse0.5.8github: maiha/clickhouse.crdev
- toml-config0.6.1github: maiha/toml-config.crdev
README
# facebook.cr [](https://travis-ci.org/maiha/facebook.cr)
facebook api for [Crystal](http://crystal-lang.org/).
## Usage (as Application)
Download the x86_64 static binary from [releases](https://github.com/maiha/facebook.cr/releases).
You can send an arbitrary GET request to the Facebook Marketing API.
```console
$ facebook api get '/v23.0/me' -a <ACCESS_TOKEN>
$ facebook api get '/v23.0/me/adaccounts -d fields=account_id,name' -a <ACCESS_TOKEN>
```
Access tokens and other information can be put together in a configuration file.
```console
$ facebook config sample > .facebookrc
$ vi .facebookrc
access_token = "xxxxxx"
$ facebook api me
```
## Usage (as Library)
- crystal: 0.33.0
```crystal
require "facebook"
client = Facebook::Client.new(auth: "xxxxxx")
res = client.get("/me")
puts res.body
```
## Development
1. Add the dependency to your `shard.yml`:
```yaml
dependencies:
facebook:
github: maiha/facebook
version: 23.0.0
```
2. Run `shards install`
## Contributing
1. Fork it (<https://github.com/maiha/facebook.cr/fork>)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
## Contributors
- [maiha](https://github.com/maiha) - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
23.0.0- Tagged
- Oct 28, 2025
- Commit
55b008ef33cb- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/maiha/facebook.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 24