Commits

Alessandro Molina  committed 5115d2b

Let fb take all the data from the opengraph meta of the link

  • Participants
  • Parent commits aadb507

Comments (0)

Files changed (1)

File tgcomments/lib/__init__.py

         return
 
     fburl = 'https://graph.facebook.com/me/feed?access_token=%s' % fbauth.access_token
-    data = {'link':url,
-            'title':'%s posted a new comment' % comment.author_name,
-            'message':comment.body}
-
+    data = {'link':url, 'message':comment.body}
     with closing(urlopen(fburl, urlencode(data))) as fbanswer:
         return json.loads(fbanswer.read())