Commits

Shu Zong Chen  committed 312fb5f

Fixed issue with facebook api changing its output

  • Participants
  • Parent commits 6ca7fbb

Comments (0)

Files changed (1)

File facebook_comments/models.py

 			return []
 		try:
 			comments = json.loads(obj.content)
-			data = comments[href]['data']
+			data = comments[href]['comments']['data']
 		except (ValueError, AttributeError, KeyError):
 			return []
 		return data
+