We are developing an android app that requires to have a like functionality which should be +1 in Google Plus. We tried with the Google developer site but it says of a url:
private static final int PLUS_ONE_REQUEST_CODE = 0;
protected void onResume() {
super.onResume();
// Refresh the state of the +1 button each time the activity receives focus.
mPlusOneButton.initialize(URL, PLUS_ONE_REQUEST_CODE);
}
The URL here refers to a link of a page or a web site or so. Now what we wish to have is to +1 a post. Is there any way we could do so?
You cannot, at least as of this posting, Like or +1 a post using the API: Here is the documentation: