Reputation: 24384
From the last two days, my Facebook application showed some weird text like on my application's usage story feeds:
This story was invalidated because: The object at http://apps.facebook.com/socialrecruit/ doesn't have a title
What is the reason?
Upvotes: 2
Views: 1358
Reputation: 718
For me the problem was solved just by adding a title tag in the head
section:
<head>
...
<title>
My App Title
</title>
...
</head>
That's it... I hope this helps.
Upvotes: 0
Reputation: 66
I had the same problem. I solved it by removing an extra tag I had on my HTML file. The extra tag was:
<?xml version="1.0" encoding="utf-8" ?>
The HTML header I now have is:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
This did the trick for me, and the error disappeared.
Upvotes: 2
Reputation: 24384
I have got the solution. Change the head tag to
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#">
and add following meta tags.
<meta property="og:type" content="other">
<meta property="og:title" content="Social Recruit">
<meta property="og:url" content="https://apps.facebook.com/socialrecruit/">
<meta property="og:image" content="http://thesocialrecruit.com/fb/images/main_app_image.png">
<meta property="og:site_name" content="Social Recruit">
<meta property="fb:app_id" content="APP_ID">
You might need to wait for couple of hours for the changes take place.
Upvotes: 1