Modules@robinpath/facebook

@robinpath/facebook

0.1.0Public

Facebook module for RobinPath.

@robinpath/facebook

Facebook module for RobinPath.

Category Functions Auth License

Why use this module?

The facebook module lets you:

  • getPageInfo
  • listPagePosts
  • createPagePost
  • updatePost
  • deletePost

All functions are callable directly from RobinPath scripts with a simple, consistent API.

Installation

npm install @robinpath/facebook

Quick Start

1. Set up credentials

facebook.setCredentials "your-credentials"

2. getPageInfo

facebook.getPageInfo

Available Functions

FunctionDescription
facebook.setCredentialsConfigure facebook credentials.
facebook.getPageInfogetPageInfo
facebook.listPagePostslistPagePosts
facebook.createPagePostcreatePagePost
facebook.updatePostupdatePost
facebook.deletePostdeletePost
facebook.getPostgetPost
facebook.getPostInsightsgetPostInsights
facebook.getPageInsightsgetPageInsights
facebook.listCommentslistComments
facebook.replyToCommentreplyToComment
facebook.deleteCommentdeleteComment
facebook.hideCommenthideComment
facebook.listPageEventslistPageEvents
facebook.createPageEventcreatePageEvent
facebook.uploadPhotouploadPhoto
facebook.uploadVideouploadVideo
facebook.getAdAccountsgetAdAccounts
facebook.getCampaignsgetCampaigns
facebook.getMegetMe
facebook.searchPagessearchPages

Examples

getPageInfo

facebook.getPageInfo

listPagePosts

facebook.listPagePosts

createPagePost

facebook.createPagePost

Integration with RobinPath

import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/facebook";

const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);

const result = await rp.executeScript(`
  facebook.setCredentials "your-credentials"
  facebook.getPageInfo
`);

Full API Reference

See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.

Related Modules

License

MIT

Versions (1)

VersionTagPublished
0.1.0latestyesterday
Install
$ robinpath install @robinpath/facebook
Version0.1.0
LicenseMIT
Unpacked Size4.8 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

Category

marketing