I am posting to FB from my app and need the "receiver" to be able to click the link in FB on their mobile and go to the app or the download page. I have followed the instructions as far as I can see but nothing happens.
I am using a ShareActionProvider with type text/plain and the EXTRA_TEXT set to a url which is my link URL as follows:
<!DOCTYPE html>
<HTML xmlns="http://www.w3.org/1999/xhtml"
xmlns:fb="http://ogp.me/ns/fb#">
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE></TITLE>
<meta property="al:android:url" content="cardflip://story/1234">
<meta property="al:android:package" content="il.co.anykey.games.cardflip">
<meta property="al:android:app_name" content="CardFlip"/>
<meta property="og:url" content="http://anykey.co.il/apps/cardflip/facebook-share.html"/>
<meta property="og:title" content="Card Flip" />
<meta property="og:description" content="Text Message" id="message"/>
<meta property="og:type" content="website" />
<meta property="og:image" content="http://anykey.co.il/apps/cardflip/feature.png" />
<meta property="fb:app_id" content="****************" />
<STYLE TYPE="text/css">
body{font-family:Verdana,Geneva,sans-serif;font-size:16px;line-height:1.4em;color:#333;background-color:White;}
</STYLE>
<script>
document.getElementById("message").setAttribute("content", getContent());
function getContent() {
return "This is a test";
}
</script>
</HEAD>
<BODY>
<A><IMG SRC="http://anykey.co.il/apps/cardflip/feature.png"></A>
<H1></H1>
<HR>
</BODY>
</HTML>
It posts to FB but when I click on it all it does is open the picture.
What am I missing?
from Open Android application from FB post
No comments:
Post a Comment