gandil
gandil

Reputation: 5418

Redirect to a url for facebook like

I have a page for like grap meta tags.

<!DOCTYPE html>
<html> 
    <head>
        <title>@Model.Title</title>
        <meta property="og:title" content="@Model.Title"/> 
        <meta property="og:image" content="@Model.Image"/> 
        <meta property="og:url" content="@Model.Url"/>
        <meta property="og:description" content="@Model.Description"/>
        <meta property="fb:app_id" content="@Model.AppId"/>

    </head>
    <body>
    </body>
</html>

Also i have a property RedirectUrl which when user click to link should redirected to. How could I do in this page? Because this page is done just for meta tags. I want take user to another page when click to liked url?

Upvotes: 0

Views: 297

Answers (1)

Pethical
Pethical

Reputation: 1482

<meta http-equiv="refresh" content='0; [email protected]["ReturnUrl"]' />

Or use js and document.location.

Upvotes: 1

Related Questions