How to track facebook installs on a Hybrid App - facebook

I need to add the tracking of installs for my Hybrid Mobile app but the code provided to me is only native for iOS and Android thus I cannot apply this to my project..
Is there a method I need to invoke from the Facebook SDK? I have integrated it already with my application as I utilize the Facebook Login. According to the guide: https://developers.facebook.com/docs/app-ads/sdk because it is a hybrid app it should automatically be tracked but this is not the case.
Any suggestions?

Related

App Store can accept this flow or not

I have integrated Facebook functionality into my applications. By using the link https://github.com/facebook/facebook-ios-sdk, I have integrated the Facebook. In this application, at the time of login, it's opening Safari and at the same time the application is going to the background and then after login again it's coming back to the application. My intention is that this flow can accept the application store or not.
This is the official Facebook iOS SDK and many apps in App Store already use it. So you can use it inside your app.
Also, the flow in your question is exactly what the documentation of the library describes and is, again, used by apps that are already in App Store:
If the device is running in a version of iOS that supports multitasking, but it doesn't have the Facebook app of version 3.2.3 or greater installed, the SDK will open the authorization dialog in Safari. After the user grants or revokes the authorization, Safari redirects back to the calling app. Similar to the Facebook app based authorization, this allows multiple apps to share the same Facebook user access_token through the Safari cookie.
So, yes, there is nothing wrong with this flow.

integrate app with native facebook iOS without using an iOS app

Im wondering if its possible to link my app with the native facebook iphone-app without using iOS at all.
It was pretty easy to create a mobile version and connect it with the m.facebook.com (so it appears in the broswer) through the Developer > Mobile Web URL but it doesnt work/recognize with the native app of facebook.
Is there a way to connect the native iOS FB to my app without creating an app? So it redirects automatically to the browser?
Im trying to avoid to create an iOS app.
Thanks a lot!
If the Application is linked to in news story or post then the App will open in in a browser.
For full integration you'll need a App.
(I don't have a iOS app to test, only pure web app and after posting the apps.facebook.com link to a wall, that link in App opened in the in built web browser).

Flash Air App - IOS - How To Integrating Facebook

I have an AIR app that I am wanting to convert to a IOS APP (using flash as3)
I have used the facebook for flash api in the past, but what theat usually entails is the app opening a new browser window to log in to facebook and authorise the app.
How can I do this using to build the app as a mobile app?
There are updated versions of the same API specialized for mobile. Which will, Instead of a new window, will open the login page in a StageWebView that spans across the screen.You can find the API at http://code.google.com/p/facebook-actionscript-api/
If you want to use the same API with the new single-Sign-On method you can read my post at http://saumitrabhave.blogspot.in/2011/10/facebook-single-sign-on-for-air-ios.html
facebook-actionscript-api in googlecode is too old. I'm try it in my project, but it failed.
Now, I use ANE-Facebook. It is working fine in my iOS and Android device.
There is a sample.

Will mobile web apps ever gain bookmark distribution inside of the Facebook native iOS app?

I think bookmark distribution inside the Facebook native iOS app is a great opportunity. However, based on the table at http://developers.facebook.com/docs/mobile/support/, it appears that option is only available to native iOS apps. Does anyone know if there are future plans to make web app bookmarks available inside the native app?
It's possible that the bookmark feature within the native iOS Facebook app violates Apple's policies regarding content on their platform, i.e. a web app bookmarked within the Facebook native app would represent a different user experience from the one that was cleared by Apple when they let the Facebook app onto the App Store.
If this is the case, there will be no bookmarks available in the native app unless Apple changes their policy, or grants Facebook a waiver.

How to connect both Android and Iphone application to the same app in Facebook?

I have used Facebook API to make posts to my wall on Facebook with my Android app. To do this I made an app on the Facebook developer site. I used the key hash from the Android application and the APP_ID from the facebook app to cross match them.
Now I want to connect my Android app to a facebook app which already is connected to an Iphone application. This app has my key hash added, and I tried using its APP_ID instead of my own but it doesn't work.
I am thinking it might be because I'm not using the application secret in my Android app, but it is used in the Iphone app. If this could be the problem, where do I add this application secret? Xcode has such an easy system for adding parameters like this one, but I don't know what the equivalent in Android is.
Thanks!
Per the Facebook Android SDK instructions "make sure that your application has been signed with the same key you registered with Facebook" it sounds like you have a key mismatch issue; the instructions on their site should help find some common problems. Also update your local code to use the latest SDK as Facebook is notorious for breaking older implementations.
The current Facebook iOS SDK only uses the application ID and Android is no different.