Track Events using Facebook SDK on Nativescript App using nativescript-facebook plugin - facebook

I am trying to connect the an app built with Nativescript-Vue with Facebook to set up ads and track the performance. I am reading through the documentation of https://github.com/NativeScript/nativescript-facebook but have not found how should I implement the tracking features (specifically Track App Installs and App Opens). Does the plugin work for events? Thanks.-
I also see that the official facebook Quick Start for iOS SDK tutorial, includes some xml for iOS that it is not included in the plugin docs:
<key>FacebookAppID</key>
<string>XXXXXXX</string>
<key>FacebookDisplayName</key>
<string>XXXXX</string>
Any idea why?
Thanks!

The plugin do not implement events yet. But you may do it by accessing the native apis on the iOS / Android SDK.
Learn more about accessing native apis for iOS / Android from JavaScript in the docs.

Related

How can implement Flurry Analytics for Samsung Tizen TV?

I googled for Flurry Analytics but I didn't find any SDK for Tizen TV.
Please tell me that Flurry Analytics SDK is available for Tizen TV?
If SDK is not available then please suggest me is there any way to implement it by custom?
For Tizen, there is no available SDK like Flurry Analytics.
What do you want to do? Do you want to get the report for your apps? or, want to make SDKs for Tizen Apps?
Tizen TV currently supports Web applications developed using javascript only. After research on flurry documentation webpage, I didn't find any information about javascript-only integration.
I think that in this situation the only solution is to use some other analytics framework which has 'pure js' support. analytics.js seem to be some possibility after quick research.

Is there any support for using Facebook SDK in Flutter?

I would like to add the Facebook app-events to my Flutter project :
https://developers.facebook.com/docs/app-events/android
https://developers.facebook.com/docs/app-events/ios
It relies on the Facebook SDK. However, it seems that there is no available plugin for the Facebook SDK integration in Flutter.
May I know should Flutter users implement their plugin to use the Facebook features?
Thanks!
At the time of answering this, there is currently no official plugin or package from the Facebook team.
But I had the same needs as you, so I wrote and published a plugin: facebook_app_events
It supports codeless app events as well as implements most of the App Events SDK.
Hope that answers your question and needs.

How to integrate Facebook sdk in titanium for ios and Android?

Hi am working on an app Using Appcelerator Titanium, in which i have to integrate Facebook sdk. i am so confused on using which sdk have to use .. whether choose the ios or android or javascript sdk. Another query is , whether if have to create a separate project for ios and Android. or a single project is enough. Thanks in advance
You can either check the Facebook support shipped with Titanium SDK: http://docs.appcelerator.com/platform/latest/#!/api/Modules.Facebook
Or you can check out this module on github: https://github.com/appcelerator-modules/ti.facebook

Can I use the JavaScript facebook SDK for phonegap apps?

I am not sure whether my question is appropriate or not.
I am integrating facebook for the first time and also for the for first my app is multi-platform.
I am integrating facebook in my app for iphone and android.My question are below:
1)If i am doing it with plugin i have to do it separately for both iPhone and Android. Is there any way to integrate Facebook for both in a single effort for eg by using Javascript SDK
2)If yes what it is? and if possible any sample.
Thanks in advance
You should use phonegap-plugin-facebook-connect. It works on both iOS and Android and integrates great with iOS6 bulid in Facebook functionality.
The plugin provides a patched version of the Facebook JS API.

share to social iphone native code

I want to share messages to social networks from my phonegap application. For that i m creating plugin for iphone and android.
i found code for android:
String message = "Text I wan't to share."
Intent share = new Intent(Intent.ACTION_SEND);
share.setType("text/plain");
share.putExtra(Intent.EXTRA_TEXT, message);
startActivity(Intent.createChooser(share, "Title of the dialog the system will open"));
But i can't able to find code for iphone.. can you please help me?
You can use FacebookConnect plugin authorise by Phonegap team.
This plugin provides a simple way to use Facebook Graph API in
Cordova.
This plugin is built for Cordova >= v2.1.0 with ARC. Both iOS &
Android are supported with the same javascript interface.
Use can also use Dave johnson's plugin, this also support iOS and Android platform.
The share Intent is part of the Android SDK and not iOS! Nothing like this exists for iOS and you will just have to integrate each social network separately.
You may want to look at this and this for facebook and twitter integration as these are now part of iOS (Twitter was integrated into iOS 5, Facebook in iOS 6).