Warenix,

First, it was not me who asked the question, I answered to Bob's post.

Second, it's very poor practice to make one application depend on
another. Once again, an application should be developed on a stand-
alone way; its correct execution should not depend whether a user
installed some other application from the market or not. Maybe someone
would choose this approach for pure marketing reasons. Technically
it's not required and practically is not desirable.

Last but not least; Facebook provides an Android SDK which is very,
very helpful. However, using this SDK definitely does not depend on
whether or not you've installed the official Facebook application.
I've not checked the latest version, maybe they let the SDK interact
with the official application (pure marketing reasons) but interacting
with the Facebook Graph API does not depend whether or not you've
installed the official Facebook application on your device.

-Ali


On May 30, 11:20 am, warenix <ware...@gmail.com> wrote:
> Hi Ali,
>
> Quoted fromhttps://github.com/facebook/facebook-android-sdk
>
> Testing
>
> Here are some tips to help test your application:
>
>    -
>
>    You will need to have the Facebook application in your test environment.
>    The SDK includes a developer release of the Facebook application that can 
> be
>    side-loaded for testing purposes. On an actual device, you can just 
> download
>    the latest version of the app from the Android Market, but on the emulator
>    you will have to install it yourself:
>
>    adb install FBAndroid.apk
>    -
>
>    Use a signed build. You can sign with a debug key, but make sure that the
>    key you used to sign matches the *Key Hash* field in the Facebook
>    developer settings.
>    -
>
>    Make sure to test both with and without the Facebook application. The SDK
>    will fall back to a Webview if the Facebook app is not installed.
>    -
>
>    You can use this guide to developing on a 
> device<http://developer.android.com/guide/developing/device.html>
>    .
>
> User authentication & authorization are performed by Facebook SDK for
> android. If you have official app installed, the process will be seamless.
> In you app, all you need is to provide the SDK your facebook APP_ID, no need
> to store the SECRET KEY.
>
> The only trick I found is the key hash, please follow this web page on how
> to get the 
> hash.http://www.helloandroid.com/tutorials/using-facebook-sdk-android-deve...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to