Currently I am working on a Titaninum Android Application. First of all let me tell you I am noob about titanium SDK. I am learning it. I need to implement Facebook login in that application. I just registered a application on facebook. On facebook I noticed options for Native android App. I enabled it but it is asking for Android Key Hash, Android Package Name, Android Class Name and Android Market URI. Please can anyone guide me about these parameters and how do I set them in my application for application development and testing purpose ??
Related
I developed my app for Android, I pass through App Review and my app is in Live mode right now.
Do I need to pass through App Review again after adding iOS platform?
I didn't found information about this and I am not sure how is this working.
I have little tricky question.
I developped a cordova application which is currently in production.
I would like to add facebook login to this app, the feature is already enabled in my website and I would like that my users can use it on the iOs and Android app (and maybe windows phone) as well.
I use this plugin : https://github.com/jeduan/cordova-plugin-facebook4
Facebook login don't work because I haven't added iOs and Android settings, the problem is that, by choice, I deploy my app in two different form. One paid app without ads and one free with ads.
So in the end, I have One paid android app, One free android app, One paid ios app and one free ios app from the same source code.
But facebook only allow one ios and one android setting by Facebook app, and all the apps must be linked to the same facebook App for access token to be usable by all the apps, right ?
Did someone know what could I do in this situation ?
I want my adobe air app to open my user's Facebook app installed on their own device and return to my adobe air app and finish the login process.
I don't want to open Facebook with stagewebview(because the user has to login once more). i want to make it done as other native apps do their Facebook logins.
if this is possible, i want to know how
You can use FreshPlanet Facebook ANE from here https://github.com/freshplanet/ANE-Facebook
If users have Facebook app then works exactly you want it. Also supported SSO login.
You'll need a native extension to achieve this, there are many out there, but just going to point you in the direction of the one we've developed and use in our applications:
http://airnativeextensions.com/extension/com.distriqt.FacebookAPI
The facebook utils extension has been discontinued so the following is no longer applicable, please look into the FacebookAPI ANE above
Or there's the simpler one that just does single sign on if you don't need access to all the API (i.e. if you're going to use the AS3 facebook lib):
http://distriqt.com/product/air-native-extensions/facebook-utils
Cheers
I want to add my app to facebook. In facebook If I search any app or game like(Candy Crush) its open. I have created one android app and published it to play store. Now I want on facebook like I search any other app. I am able to search my app. How to add my app to facebook?
Edit-
I am little confused with few answers first thing I have already created app. Now I don't know what to do with android SDK and what's the need of it. Second thing I want to integrate my app to Facebook app center. Don't want to integrate Facebook to my app.
Edit:
An extensive guide to create webapp like candycrush within the core facebook experience.
You can create a web app and then register it with facebook. This way, your app will be visible in the app center, but when the user clicks . it will take the user to your webpage.
Here is an extensive guide to link your webapp on the facebook app center.
Facebook has huge amounts of user information. Facebook lets any app developer access a user's info if they have the user's consent. If you need to leverage the userInfo with facebook, you need to follow these procedure:
Register as a developer with facebook.
Once you are signed in as developer, you will find options to create application.
Assuming that you created your first facebook app with the name and namespace. This app is like a passport for accessing all the facebook data.
Facebook provides sdk(software development kits) to make interactions between the facebook server easier.
Facebook SDK for iOS.
Facebook SDK for Android.
Facebook SDK for Web.
Facebook SDK for Game Development.
Developers of CandyCrush use *Facebook SDK for Game Development.*Since you are going to develop app for Android, you need to integrate facebook android SDK. The following steps:
Download the Android SDK.
Add your android app details(These details should be exactly same) in the facebook Dashboard.
You can run all the facebook sample apps that come with the sdk to know how you can access the facebook details in your app.
To make your app listed in Facebook App center.
Previous Answer:
- Create an app in facebook server.
- Integrate facebook sdk in your android app.
A detailed info regarding this is found here.
This is a more simple tutorial, with step by step instruction.
This a complete tutorial from Facebook to link your app to facebook
Have you made you app public for Facebook? See this.
Hi here you can check facebook application step by step guide..
http://www.wikihow.com/Create-a-Facebook-Application
You say you have an Android APK, and I have to assume you want to have your app playable on the web browser. You can't play an Android game on the Facebook website. I assume you will need to entirely recode the game for Adobe Flash then submit it to Facebook.
When configuring my Facebook app I have enabled "Native Android App" and within that enabled "Configured for Android SSO" and "Android Native Deep Linking".
My configuration and app code would appear to be correct because if an Android user has my app installed and follows a link to my app on Facebook via THE NATIVE FACEBOOK APP they are immediately directed to my application as expected. Great!
HOWEVER if an Android user who has my app installed DOES NOT have the NATIVE FACEBOOK APP installed and instead browses Facebook via the mobile website at http://m.facebook.com, when they follow a link to my app they are ALWAYS taken to the Play Store.
Is there anyway to solve this as this is a massive drawback as far as I'm concerned and makes the "Native Android App" option impractical and unusable.
Maybe this is the expected behaviour, perhaps Faceboook just assume that Facebook users are always using the native Facebook app?
I work at Facebook and I can help provide some insight in this. First off, this bug report might be of interest to you, because it is currently an issue that we're tracking on native deep linking not working on some posted URLs on Facebook.
In regards to your issue, there's a reason why it's called native deep linking. This feature is for users using the Facebook for Android app to fast-switch to your native app. This feature is strictly for native app -> native app linking. There is simply no way for a webpage on a browser to detect if an app is installed on the device you're using at the moment. That is why we always fallback to the play store due to technical limitations of the platform.
Let me know if that helps.