我正在使用Easy Facebook android SDk v2.3
。我可以成功访问一个页面并获得页面的details
,包括number of likes
。Easy Facebook Android SDK:如何像页面
我想在应用程序中使用setLikes(String likes);
类的类的方法实现like button
,但是会混淆作为参数传递的内容。
示例代码:
p = Global.graphApi.getPage("Page ID");
p.setLikes(String likes); //what should likes be replaced with, replacing it with user id didn't work
任何帮助表示赞赏。
您是否尝试过使用Page ID? –
不,我将页面ID替换为实际页面的ID。 –