GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - developer82/FacebookCore: An unofficial .NET Core SDK for Facebook API

BranchesTags
Open more actions menu

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
FacebookCore.Tests
FacebookCore.Tests
 
 
FacebookCore
FacebookCore
 
 
.gitignore
.gitignore
 
 
FacebookCore.sln
FacebookCore.sln
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

FacebookCore

An unofficial .NET Core SDK for Facebook API

Build status

Disclaimer: I use this library for my own personal project and I progress with it as per my project needs. If there is any feature you would like to see, please open a new issue and I will try my best to add it, or you could submit a pull request. I have tried to make this library flexible, so even if you do not find what you need it would still allow for extensions and to make calls to the Facebook API directly.

Installation

This package can be installed via NuGet:

Install-Package FacebookCore

Usage

The main class that you would need, and that abstract the entire library use is the FacebookClient class. To use it, you would need to supply it with your client_id and client_secret (those could be obtained from your Facebook application in the Facebook developer portal). Initialize the FacebookClient in the following way:

FacebookClient client = new FacebookClient("[your_client_id]", "[your_client_secret]");

Facebook Generic Collections

When querying the Facebook API for data with multiple values of the same type, it returns as an object that contains an array of the results and some metadata, along with a cursor indicating the next and previous results set (if any exists).

The FacebookCollection<T> abstracts the management of the results as an enumerable collection that you could use with a POCO class (using a mapper), and manages the state of the collection, allowing you to load additional items into the collection from the Facebook API and retrieve the next or previous set of items available.

The APIs already implemented in this library make use of that generic collection and abstract it as a new already typed collection for ease of use. In the case this library does not cover the collection you need, you can use this class to represent and manage collections easily.

About

An unofficial .NET Core SDK for Facebook API

Resources

Readme
License
Activity

Stars

11 stars

Watchers

3 watching

Forks

5 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.