Fixed fb user profile

This commit is contained in:
Fergal Moran
2014-06-01 16:22:56 +01:00
parent aeb4a13c31
commit 20e2c5b871
2 changed files with 4 additions and 2 deletions

View File

@@ -69,7 +69,8 @@ def user(request, args):
profile_url = user.get_profile_url()
default = _getPayload(request)
extras = {
"description": user.get_nice_name,
"title": user.get_nice_name(),
"description": user.get_profile_description(),
"profile_url": wrap_full(profile_url),
"image_url": image,
}

View File

@@ -4,7 +4,8 @@
<title>Deep South Sounds User Profile</title>
<meta property="fb:app_id" content="{{ app_id }}" />
<meta property="og:url" content="{{ profile_url }}/" />
<meta property="og:title" content="{{ description }} on Deep South Sounds" />
<meta property="og:title" content="{{ title }} on Deep South Sounds" />
<meta property="og:description" content="{{ description }} on Deep South Sounds" />
<meta property="og:image" content="{{ image_url }}" />
<meta property="og:type" content="profile" />
</head>