aledpardo / facebook-csharp-ads-sdk

A third party Facebook Ads SDK (Marketing API) wrapper for C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Facebook Ads API SDK for C-sharp

This Ads API SDK is built to facilitate application development for Facebook Ads API.

Installation

C-Sharp Library

  1. Open the code in a visual studio project and add the unofficial Facebook C-Sharp SDK library by going to FacebookAds->References->Manage NuGet Packages
  2. Look for Facebook and press Install
  3. Open your project and import the main class and use the static void FacebookAds.Api.Initialize(appId, appSecret, accessToken) method to initialize the library for use.

PHP SdkConverter

  1. Download the official Facebook Ads PHP SDK from the officical Facebook github and place it in /lib/
  2. Download the official Facebook PHP SDK autoloader and place it in /lib/FacebookAds/ and change the $prefix variable to 'FacebookAds\\' on line 47.
  3. Run the main PHP script /src/SdkConverter/main.php to generate your .cs files

Usage

The entire library is built to be as similar to the official PHP SDK as possible, so the names and method calls are the same. Refer to the official documentation for more information.

License

The MIT License (MIT)

Copyright (c) 2016 - Luke Paris (Paradoxis) | Searchresult Performancemarketing

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A third party Facebook Ads SDK (Marketing API) wrapper for C#

License:MIT License


Languages

Language:C# 94.4%Language:PHP 5.6%