There are a few other old SO questions asking a similar question, but there doesn't seem to be any definitive answer for them. Some time has passed since those questions were asked, so I was wondering if there was a way to do this yet?
Looking at Facebook's Android SDK, there are examples on how to share things on your wall, post pictures to your wall, login, logout, etc... but it there doesn't appear to be anything about adding a simple Like button... I was expecting to be able to add a Like Button to my app (via a ImageView or maybe a styled Button), once clicked Facebook would load an authorization login dialog and then ask for your permission to Like the app.
It seems like something they would have in there... am I just not seeing it?
Some people have suggested making a tiny WebView that is the size of the HTML Facebook Like button and integrating it into your layout. The problem with this, is that when the user clicks the Like button in the WebView, it will want to open a Javascript window for the user to login to Facebook, but this dialog will almost definitely not fit in the tiny WebView.
Are there any definitive approaches to adding a FaceBook Like button in an Android App?