Like a Page in Facebook

How do u either ask a user to like a page in facebook using the api, or redirect the user to a facebook page for him to like? I tried opening the facebook app using the fb schema url together with a page id. I thought it worked but apparently it doesnt direct you to a page. Any clues on how to do this? [import]uid: 144908 topic_id: 31731 reply_id: 331731[/import]

I just use a little Facebook icon that gives a direct link.

local fbookPage = function(event)  
 if event.phase == "ended" then   
  
 local fbURL = "www.facebook.com/facebookpage"  
  
 system.openURL( fbURL )  
 print("url opened")   
 end  
end  
fbookIcon:addEventListener("touch", fbookPage)  

[import]uid: 114389 topic_id: 31731 reply_id: 126736[/import]

I just use a little Facebook icon that gives a direct link.

local fbookPage = function(event)  
 if event.phase == "ended" then   
  
 local fbURL = "www.facebook.com/facebookpage"  
  
 system.openURL( fbURL )  
 print("url opened")   
 end  
end  
fbookIcon:addEventListener("touch", fbookPage)  

[import]uid: 114389 topic_id: 31731 reply_id: 126736[/import]

That doesnt work all the times, there has to be a simpler way to access a Facebook page then using all the other Facebook api?

I have tried to many fb:// schemas and none is working.

Anyone?

Regards, Joakim [import]uid: 81188 topic_id: 31731 reply_id: 127805[/import]

I haven’t used it personally but this may be worth a look; http://www.elevatefun.com/blog/likey-likey-integrating-facebook-like-buttons-corona-sdk/

Peach :slight_smile: [import]uid: 52491 topic_id: 31731 reply_id: 127868[/import]

Thanks peach I’ll test that soon and report back with my results. Until that time, has anyone tried this recently? The blog post is a bit old. [import]uid: 144908 topic_id: 31731 reply_id: 127888[/import]

That doesnt work all the times, there has to be a simpler way to access a Facebook page then using all the other Facebook api?

I have tried to many fb:// schemas and none is working.

Anyone?

Regards, Joakim [import]uid: 81188 topic_id: 31731 reply_id: 127805[/import]

I haven’t used it personally but this may be worth a look; http://www.elevatefun.com/blog/likey-likey-integrating-facebook-like-buttons-corona-sdk/

Peach :slight_smile: [import]uid: 52491 topic_id: 31731 reply_id: 127868[/import]

Thanks peach I’ll test that soon and report back with my results. Until that time, has anyone tried this recently? The blog post is a bit old. [import]uid: 144908 topic_id: 31731 reply_id: 127888[/import]