![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
angular-facebook-api-factory
Advanced tools
angularjs factory for facebook json rest api requests
angular-facebook-api-factory is an angularjs module with a facebook api factory.
Author: Jonathan Hornung (JohnnyTheTank)
bower install --save angular-facebook-api-factory
npm install --save angular-facebook-api-factory
jtt_facebook
to your application's module dependencies.<script src="bower_components/angular-facebook-api-factory/src/angular-facebook-api-factory.min.js"></script>
<script src="node_modules/angular-facebook-api-factory/src/angular-facebook-api-factory.min.js"></script>
<script src="angular-facebook-api-factory.min.js"></script>
facebookFactory
facebookFactory.getPostsFromPageById({
pageId:"<PAGE_ID>",
limit:"<LIMIT>", // (optional) valid values: 0-100 | default: 25
until:"<UNTIL>", // (optional)
since:"<SINCE>", // (optional)
__previous:"<PREVIOUS>", // (optional)
__paging_token:"<PAGING_TOKEN>", // (optional)
access_token:"<ACCESS_TOKEN>"
}).then(function (_data) {
//on success
}).catch(function (_data) {
//on error
});
facebookFactory.getPhotosFromPageById({
page:"<PAGE>", // ID or name
limit:"<LIMIT>", // (optional) valid values: 0-100 | default: 25
before:"<BEFORE>", // (optional)
after:"<AFTER>", // (optional)
access_token:"<ACCESS_TOKEN>"
}).then(function (_data) {
//on success
}).catch(function (_data) {
//on error
});
facebookFactory.getVideosFromPageById({
pageId:"<PAGE_ID>",
limit:"<LIMIT>", // (optional) valid values: 0-100 | default: 25
before:"<BEFORE>", // (optional)
after:"<AFTER>", // (optional)
access_token:"<ACCESS_TOKEN>"
}).then(function (_data) {
//on success
}).catch(function (_data) {
//on error
});
facebookFactory.getEventsFromPageById({
pageId:"<PAGE_ID>",
limit:"<LIMIT>", // (optional) valid values: 0-100 | default: 25
before:"<BEFORE>", // (optional)
after:"<AFTER>", // (optional)
access_token:"<ACCESS_TOKEN>"
}).then(function (_data) {
//on success
}).catch(function (_data) {
//on error
});
facebookFactory.getPageById({
pageId:"<PAGE_ID>",
access_token:"<ACCESS_TOKEN>"
}).then(function (_data) {
//on success
}).catch(function (_data) {
//on error
});
MIT
FAQs
angularjs factory for facebook json rest api requests
The npm package angular-facebook-api-factory receives a total of 0 weekly downloads. As such, angular-facebook-api-factory popularity was classified as not popular.
We found that angular-facebook-api-factory demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.