BackGround:
There are Facebook APIs (and SDKs) for developing applications for other mobile devices such as iPhone, BlackBerry, etc., but it seems there are no official ones for Android (?).
People ported the Java API to run on Android and wrote FaceBook Client applications ( FaceBook dev: Wiki page ). Apparently there is also a lightweight FaceBook SDK in the alpha version for Android (a la FBRocket). But this is not recommended for use in Production.
Since these features of FaceBook were exposed as a REST-based service, most of the work will include sending requests in the desired format via Http. Thus, writing a FaceBook client application for Android is certainly feasible. Similar applications already exist on the market, for example: Bloo.
Questions:
When asked to write a FaceBook client application, what approach should be taken? Should we choose an SDK or link to services on Http?
If you already have a web application that integrates with FaceBook, can you just go to this application from within WebView and do it?
Thanks!
source shareI would use the Java API. You mention that they were "ported", but were they? You are developing Android applications in Java, you can simply include .jar files and use them in your Android application without any โportingโ. REST access to FaceBook will also work just fine.
Are you talking about a custom application that you created on top of FaceBook? If you already have a webapp that works fine in the Android browser, then it would be nice if your users went to this site by giving them the URL. If WebApp is only part of your application, you can open a browser with an open page or load this page into WebView as part of your larger application. However, if this is all that your application does, then this is not an application, itโs just an illustrious browser bookmark, and I highly recommend that you donโt release such an application on the Android Market if you donโt like getting terrible ratings.
source shareSource: https://habr.com/ru/post/1299179/
All Articles