Facebook Like Button in Corona SDK - Help

I am nearly done with my game, and want to add like buttons. Who doesn’t?

I have never used facebook before. So I had to sign up, as both a developer and link it to a normal page. That was a little confusing to me, but I did it anyway.

So now I have a developer page which has a “like” button on it, and the linked page which does not, as it is just a regular user page “add friend, etc”. Ok, so I think I kinda understand that you can’t “like” a normal user page, but can only like a developer page.

Considering:

  • My normal user page name is “John Smith”

  • My developer name is “Cool Game”

I do some research on how to get the like button and page ID. I find this:

https://graph.facebook.com/yourusername

That works for the normal user page (John Smith), and it gives me my normal user page ID. That won’t help me though, cause I don’t want people going to that page. I need them going to my developer page (Cool Game), to “like” it. When I input my developer page name ( Cool Game ) instead of the normal linked page ( John Smith ) it says it is invalid. My developer page is the only page that can accept “likes”, so how do I make this happen?

Trying to get my developer page id, I get this error:

“error”: {
“message”: “(#803) Some of the aliases you requested do not exist: Cool Game”,
“type”: “OAuthException”,
“code”: 803
}

Can anyone tell me what is going on? I am losing my mind here.

As far as I know, I thought it wasn’t possible to implement a Facebook like button in your app

Most games have facebook likes. Not just big ones like candy crush, but small indie games. Flappy bird had one also. In some games, you can earn rewards by liking their page so it is definitely a big part of mobile games. It is really easy, I just don’t know how to do it :smiley:

I know many games have a Facebook like button, but were any of those made with Corona? I don’t think it is possible with Corona, but it has been a long time since I have looked at any Facebook implementation. 

If someone has done it before using Corona, you should be able to find some documentation on it

WE definitely need a good facebook tutorial implemented in corona from start to end and summarizing all the features we can get with the platform… I’d love to have lives sending in my apps but I don’t know where to look… :frowning:

As far as I know, I thought it wasn’t possible to implement a Facebook like button in your app

Most games have facebook likes. Not just big ones like candy crush, but small indie games. Flappy bird had one also. In some games, you can earn rewards by liking their page so it is definitely a big part of mobile games. It is really easy, I just don’t know how to do it :smiley:

I know many games have a Facebook like button, but were any of those made with Corona? I don’t think it is possible with Corona, but it has been a long time since I have looked at any Facebook implementation. 

If someone has done it before using Corona, you should be able to find some documentation on it

WE definitely need a good facebook tutorial implemented in corona from start to end and summarizing all the features we can get with the platform… I’d love to have lives sending in my apps but I don’t know where to look… :frowning: