How to download fbsdk v5? - facebook

I am trying to download fbsdk v5 from facebook sdk downloads. Here it refers to this github page for download. And from the github page it refers back to the previous same page facebook sdk downloads.
It's unending loops of references.
Can someone help me with a link to the download of fbsdk v5 directly?

You can download by clicking the button clone or download simply
If you want to use facebook-sdk in your react-native project i would highly recommend to use react-native-fbsdk package by npm instead of download and use.

Related

Phonegap Build using Phonegap Facebook Plugin

I'm using PhoneGap Build. I'm using this plugin here: https://github.com/Wizcorp/phonegap-facebook-plugin only to add install tracking for a Facebook ad I have setup for mobile ads when people install the app after clicking the mobile Facebook ad.
In the Facebook SDK here under "4. Enable Install Tracking": https://developers.facebook.com/docs/app-ads/sdk
it says: "To enable install tracking call the App Events logger once your application becomes active."
In this plugin's README under Events, it says:
"Activation events are automatically tracked for you in the plugin."
Does this mean that there is no code to write, that once I only have to add the plugin to the config xml and it will automatically call FB.AppEvents.activateApp() ?
I have attempted to call FB.AppEvents.activateApp() manually using the Facebook SDK for Javascript but get an error AppEvents undefined.
If you look at the Facebook JS SDK documentation you'll find that it says...
Note: App Launches and App Installs are now logged automatically. It's no longer necessary to call activateApp to log those events.
https://developers.facebook.com/docs/reference/javascript/FB.AppEvents.LogEvent
So the readme for that plugin is correct to say it is automatic.

Could not install package 'Facebook 6.8.0'

I have installed Xamarin Starter version, and want the App to access posts of some users on Facebook. I tried to add package the Facebook SDK for .Net, but it throws the error : "Could not install package 'Facebook 6.8.0'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v5.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author."
I tried to change the target framework version, but that did not help. Any ideas?
There is a Facebook Component for Xamarin. Xamarin also has a Xamarin Social component that includes Facebook integration. You cannot use any arbitrary Nuget package with Xamarin - it has to be one that targets a compatible framework. Unfortunately the Nuget manager does not allow you to easily filter out incompatible packages.
I downloaded the package contents via Nuget and manually added it as a reference to my solution and it compiled and referenced correctly. I tried the first example in an iPhone solution from this tutorial and everything worked. Hope that helps.

Cordova / phonegap tracking APPs install with Facebook SDK

Related question: How do I implement Facebook Mobile Install Ad tracking in Phonegap/Cordova project?
I have a working cordova/phonegap application. I would like to track the APP install using the plugin facebook. I installed the cordova facebook connect plugin with:
cordova plugin add https://github.com/phonegap/phonegap-facebook-plugin.git --variable APP_ID="myappid" --variable APP_NAME="myappname"
The plugin is installed and usable as this report 'true':
alert('fb plugin usable: ' + typeof facebookConnectPlugin != 'undefined')
However I am no seeing anything in the "Most recently logged events" in the facebook developer section for this app. I added the correct Package Name and Class Name in the settings but the events are not just showing up.
Is there anything that I am missing or more info that I can provide ? I cannot find a good tutorial on this that explains the full process.
Should the APP install event just be logged by adding the plugin without any JS call in the app?
I dug a bit in the plugin implementation and noted the activateApp was not implement at all. I cloned the repo and add the functionality for Android [following the FB guide for android ]:
The modifications required on the code are: code changes in plugin and : how to use in the JS code. In this way I can just call
facebookConnectPlugin.activateApp(fb_success, fb_fail);
where the callbacks are just dummy empty function.
and the FB is SDK tracks when there is an installation. I noticed however that the events are generated only when there is a FB app installed on the device [do not know if this is supposed to be like that].
UPDATE
Probably my solution is old, I guess that now the official plugin for Facebook has already the feature implemented directly without the need of any additional customization in the JS files or touching the Java files.

Facebook SDK. File required is not in the folder

This is my first facebook app I am trying to create. I started reading about it, I downloaded the SDK, looked for examples and in every code I found they start with importing a facebook.php file that is missing from the SDK folder I downloaded from facebook - https://developers.facebook.com/docs/php/gettingstarted/4.0.0. Even on github https://github.com/facebook/facebook-php-sdk the shown code starts with require 'facebook-php-sdk/src/facebook.php';. But once again, this file doesn't exists. How do I use the SDK?
You are looking at the wrong version on github, this is v4: https://github.com/facebook/facebook-php-sdk-v4
It works completely different, as you can see in the example code. You don´t include a "facebook.php" anymore, you either use Composer or you load the autoloader.php in the src folder of the SDK.
Here´s a basic tutorial for the new PHP SDK: http://www.devils-heaven.com/facebook-php-sdk-4-0-tutorial/

Installing the Facebook C# SDK

I want to implement login using facebook in my windows phone 7.1 application
When I try to install Facebook C# SDK using the nuget package manager console. It is added successfully, but when I try to add the reference to my project its giving following error.
I did not write any code or anything. I just want to add the reference to facebook like using facebook; in my code behind file
I just tested this and I cannot reproduce the error.
Make sure you uninstall any old version of the SDK.
Then, right-click the project and add the SDK using nuget.
Do not install by hand.
That error message seems pretty clear - your project is set to target Windows Phone 7.1, but that version of the Facebook SDK doesn't support Windows Phone 7.1
See if there's an updated version of the SDK which supports 7.1, or target your project at a version that the Facebook SDK does support