Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (44 sloc) 1.85 KB

๐Ÿ“Œ index / ๐Ÿ‘ฎ fbbot / ๐Ÿ“š api

๐Ÿ•น Get started

Install npm package and run sample if you want to start using this api.

Example (with flow login)

const config = require ("./config");
const Bot = require("@socialmanagertools/fbbot");
let bot = new Bot(config);

(async () => {
	await bot.start();

	let api = await bot.api();

	let response = await api.login.flow();

	if (response.status) {
		response = await api.twofa.flow();
	}

	if (response.status) {
		// Here you are logged...
		// Calls your personal api flow here, example:
		//
		// await api.goto.profile("ptkdev");
		// response = await api.read.user_username("profile");
		// console.log(response.username);
	}

	await bot.stop();
})();

๐Ÿ“Ž API Index

Facebook api manual:

๐ŸŽ Support: Donate

๐Ÿ’ซ License

  • Documentation and Contributions have CC BY 4.0 License
  • Images and Logos have CC BY-NC 4.0 License
  • Code Snippets/Examples have MIT License
Copyleft (c) 2018-2019 Patryk Rzucidล‚o (@PTKDev) <support@ptkdev.io>
You canโ€™t perform that action at this time.