Facebook C# Ads SDK

The Facebook C# Ads SDK is built to facilitate application development for the official Facebook Ads API. It uses almost the same name naming convention as Facebook's PHP library does, so it shouldn't be too hard to understand.

This library was first created by me whilst I was working as an intern at Searchresult Performancemarketing, and was used internally for marketing purposes. We eventually decided to open source the project to give back to the programming community.

The source code of the project can be found on my GitHub

Usage

For up to date documentation, please refer to the GitHub repository.


The C# Library

  1. Open the code in a visual studio project and add the unofficial [Facebook C-Sharp SDK](https://github.com/facebook-csharp-sdk/facebook-csharp-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.
The Sdk Converter
  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
Check out the source code on GitHub

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.

Specifications

Current version 1.0.0
Language PHP, C#
License MIT

Downloads

File Version Hash (sha1)
facebook-csharp-ads-sdk.zip 1.0.0 4eb0c0ef6334bdcf6de21dc9445ac3d533cbffc9

Changelog

File: facebook-csharp-ads-sdk.zip
Version: 1.0.0
Summary: Initial release


Disclaimer

By downloading software from this website the person in question agrees that they will use any of software in question in an ethical (non-malicious) way and agrees that the developer(s) are NOT held responsible for any damage caused by the use and or abuse of this software.

Misuse of any software from this website may result in criminal charges brought against the person in question depending on the country or state of residence which can result in probation, fines up to $100000 or prison sentences up to 20 years in federal prison.

Please think twice before you run a script if you don't know what you're doing.