I set like button on every page of my app. But facebook has two modes o viewing pages: unsecured (HTTP) and secured (HTTSP), so how should I do code href in fb:like to show
Just put the http url of the page regardless of the protocol the user is using. There's no reason to use https in the fb:like button since it's not being loaded anyway.
Another thing is that in the open graph meta tags, under the url param (og:url) put the http version always.
There's no problem to put the url of the fb canvas page in like button you have in the "direct url", though I think that I would do it the other way around, in the canvas page inside fb I would use the direct url in the like button.