You cannot Like a page using the graph API, they blocked this functionality the user must click their button which means you need to display a webview which requires login.
-- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/5474cf79-81d7-4291-9539-be26a75c1346%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.