|
|
@ -128,6 +128,9 @@ class TwitterNetworkData(NetworkData): |
|
|
|
self.username = retweet_user['screen_name'] |
|
|
|
self.username = retweet_user['screen_name'] |
|
|
|
self.avatar = retweet_user['profile_image_url'] |
|
|
|
self.avatar = retweet_user['profile_image_url'] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# also switch the text for the original text. |
|
|
|
|
|
|
|
data['text'] = data['retweeted_status']['text'] |
|
|
|
|
|
|
|
|
|
|
|
# Twitter encodes a lot of HTML entities, which are not good when |
|
|
|
# Twitter encodes a lot of HTML entities, which are not good when |
|
|
|
# you want to *display* then (e.g., "<" returns to us as "<"). |
|
|
|
# you want to *display* then (e.g., "<" returns to us as "<"). |
|
|
|
# So we convert this here. |
|
|
|
# So we convert this here. |
|
|
|