Skip to content

Check if User Liked a Page

brunoluigi edited this page Mar 30, 2012 · 2 revisions
me = FbGraph::User.me(ACCESS_TOKEN)
page = FbGraph::Page.new(PAGE_ID) # or a Page retrieved using FbGraph::Page.search('fb_graph') as well
me.like?(page) # true if User Liked, false otherwise
Clone this wiki locally