diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json new file mode 100644 index 0000000..f8b4888 --- /dev/null +++ b/.vs/ProjectSettings.json @@ -0,0 +1,3 @@ +{ + "CurrentProjectSetting": null +} \ No newline at end of file diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..6b61141 --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,6 @@ +{ + "ExpandedNodes": [ + "" + ], + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000..dd32240 Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/.vs/twitter-project/config/applicationhost.config b/.vs/twitter-project/config/applicationhost.config new file mode 100644 index 0000000..bd44eab --- /dev/null +++ b/.vs/twitter-project/config/applicationhost.config @@ -0,0 +1,1025 @@ + + + + + + + +
+
+
+
+
+
+
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.vs/twitter-project/v16/.suo b/.vs/twitter-project/v16/.suo new file mode 100644 index 0000000..bba4418 Binary files /dev/null and b/.vs/twitter-project/v16/.suo differ diff --git a/__pycache__/template.cpython-310.pyc b/__pycache__/template.cpython-310.pyc new file mode 100644 index 0000000..e68f832 Binary files /dev/null and b/__pycache__/template.cpython-310.pyc differ diff --git a/dashboard_static/js/code.js b/dashboard_static/js/code.js index de96663..6f5074e 100644 --- a/dashboard_static/js/code.js +++ b/dashboard_static/js/code.js @@ -23,8 +23,85 @@ function getCSSVariable(name) { } function tweetCell(tweet, parent) { - var cell = document.createElement("div") + var cell = document.createElement("div"); cell.innerHTML = - "
" + '
'+ + '' + + '
' + + '
'+ + ''+tweet.user.name+' '+ + '@'+tweet.user.screen_name+''+ + '
'+ + ''+tweet.text+''+ + '
'+ + '
'+ + 'favorite'+ + ''+tweet.favorite_count+''+ + '
'+ + '
'+ + 'repeat'+ + ''+tweet.retweet_count+''+ + '
'+ + '
'+ + 'chat_bubble'+ + ''+tweet.reply_count+''+ + '
'+ + '
'+ + '
'+ + '
'; + parent.append(cell); } + +var atweet = { + "created_at": "Sat Nov 16 12:51:41 +0000 2019", + "text": "@BobGreenburg @ONeill_Coffee Congrats to the excellent football program at Wilmington. One classy organization!", + "source": "Twitter for iPhone<\/a>", + "user": { + "name": "Express Youngstown", + "screen_name": "ExpressProsYO", + "url": "http:\/\/apply.expresspros.com\/", + "profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/775167844921188353\/fWquHsOK_normal.jpg", + }, + "quote_count": 0, + "reply_count": 0, + "retweet_count": 0, + "favorite_count": 0, + "entities": { + "hashtags": [ + + ], + "urls": [ + + ], + "user_mentions": [ + { + "screen_name": "BobGreenburg", + "name": "Bob Greenburg", + "id": 483881032, + "id_str": "483881032", + "indices": [ + 0, + 13 + ] + }, + { + "screen_name": "ONeill_Coffee", + "name": "O'NeillCoffeeCompany", + "id": 2804543925, + "id_str": "2804543925", + "indices": [ + 14, + 28 + ] + } + ], + "symbols": [ + + ] + }, +} + +for (let i = 0; i < 2; i++) { + tweetCell(atweet, $(".leftcol")); +} \ No newline at end of file