Skip to main content

Crate rustybook

Crate rustybook 

Source
Expand description

§Rustybook

an ergonomic Facebook client written in Rust

§Features

🚧 work-in-progress, expect API changes

  • posts
  • videos
  • photos
  • stories
  • messenger

§Getting started

first you have to initialize a Rustybook client. you can create using default options or use the Rustybook::builder() to customize it.

use rustybook::Rustybook;

// default
let client = Rustybook::new().unwrap();

// builder
let client = Rustybook::builder().build().unwrap();

all methods are asynchronous and return a Result type.

§Cargo.toml

[dependencies]
rustybook = "0"

Modules§

error

Structs§

Rustybook
Rustybook is a client for interacting with Facebook services.