Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
cher-facebook
Advanced tools
A source stream implementation for [cher](https://github.com/istrategylabs/cher)
A source stream implementation for cher
$ npm install
const Cher = require('cher');
const tools = require('cher-tools');
const cherFacebook = require('cher-facebook');
const save = tools.pipeline.save;
// config helper
const config = tools.utils.config;
// Cher streams get configured here.
const sourceStreams = [
{
name: 'facebook',
module: cherFacebook
}
];
config.fetch({
pipeline: [ save ],
sourceStreams: sourceStreams
})
.then(Cher.construct)
.spread((streams, cher) => {
const facebookSource = cher.getStream('facebook');
facebookSource
.start()
.spread((dataChannel, facebookSettings) => {
dataChannel.on('data', (data) => {
console.log(data) // a facebook post or comment or whatever
});
});
});
$ echo "FACEBOOK_CLIENT_ID=<your_client_id>" >> test/test.env
$ echo "FACEBOOK_CLIENT_SECRET=<your_client_secret>" >> test/test.env
$ echo "facebookAccessToken=<your_really_long_access_token>" >> test/test.env
$ echo "PAGES=<a_fb_page_id>" >> test/test.env
$ echo "POSTS=<a_fb_post_id_with_comments>" >> test/test.env
$ npm test
FAQs
A source stream implementation for [cher](https://github.com/istrategylabs/cher)
The npm package cher-facebook receives a total of 6 weekly downloads. As such, cher-facebook popularity was classified as not popular.
We found that cher-facebook demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.