User-Based Information Search Across Multiple Social Media —" Marte Lise Gåre INF-3981 Master’S Thesis in Computer Science - June 2015
Total Page:16
File Type:pdf, Size:1020Kb
! Faculty of Science and Technology ! Department of Computer Science ! User-Based Information Search across Multiple Social Media —" Marte Lise Gåre INF-3981 Master’s Thesis in Computer Science - June 2015 i Abstract Most of todays Internet users are registered to one or more social media applications. As so many are registered to multiple application, it has become difficult to locate friends, former colleagues, peers and acquaintances. Reasons for this include private profiles, name collisions, multiple usernames, lack of profile attributes and profile picture. The system designed and implemented in this thesis enable automatic user-based information search across multiple social media without relying on explicit user account registration as a basis for combining information. It uses information from a posting on a social media site to find a specific user on multiple other social media. Twitter is used as a starting point where the end-user can choose a tweet of interest, press the tweet and automatically be presented with information about the author of the tweet, including profiles on other social media. The application was tested and evaluated by running tweets from a set of 100 Twitter users, where 14 of these were public figures, through the system and documenting the results. ii iii Acknowledgements I would like to thank my supervisor Professor Randi Karlsen for her guidance, feedback, ideas and advice during all stages of this thesis. It has been great working with you and I really appreciate your feedbacks. Further I would like to thank my classmates for 5 great years of study. I wish you all the best of luck in the future. Finally I would like to thank my friends and family for their support, and a special thanks to my boyfriend for his feedback and support. iv ! v Table&of&Contents& 1"INTRODUCTION"....................................................................................................................."1! 1.1!PROBLEM!DEFINITION!.......................................................................................................................!1! 1.2!MOTIVATION!.......................................................................................................................................!2! 1.3!METHODOLOGY!...................................................................................................................................!2! 1.4!APPROACH!...........................................................................................................................................!3! 1.5!CONTRIBUTION!...................................................................................................................................!3! 1.6!ORGANIZATION!...................................................................................................................................!3! 2"BACKGROUND"........................................................................................................................"5! 2.1!SOCIAL!MEDIA!.....................................................................................................................................!5! 2.1.1$Twitter$...........................................................................................................................................$5! 2.1.2$Facebook$.......................................................................................................................................$6! 2.1.3$Flickr$...............................................................................................................................................$6! 2.1.4$Instagram$.....................................................................................................................................$6! 2.2!WEB!TECHNOLOGIES!.........................................................................................................................!7! 2.2.1$HTML$..............................................................................................................................................$7! 2.2.2$CSS$...................................................................................................................................................$7! 2.2.3$JavaScript$.....................................................................................................................................$7! 2.3!TOOLS!...................................................................................................................................................!7! 2.3.1$APIs$..................................................................................................................................................$8! 2.3.2$OAuth$............................................................................................................................................$12! 2.3.3$REST$..............................................................................................................................................$12! 2.3.4$Bookmarklets$............................................................................................................................$12! 2.3.5$Bootstrap$....................................................................................................................................$13! 2.4!INFORMATION!RETRIEVAL!.............................................................................................................!13! 2.5!HUMAN@COMPUTER!INTERACTION!..............................................................................................!14! 2.6!USER!EXPERIENCE!...........................................................................................................................!15! 2.7!RELATED!WORK!..............................................................................................................................!16! 3"REQUIREMENT"SPECIFICATION"...................................................................................."19! 3.1!OVERVIEW!........................................................................................................................................!19! 3.2!FUNCTIONAL!REQUIREMENTS!......................................................................................................!20! 3.2.1$Integration$with$existing$social$media$applications$...............................................$20! 3.2.2$Retrieval$of$data$associated$with$the$user$...................................................................$20! vi 3.2.3$User$Identification$..................................................................................................................$20! 3.2.4$Result$presentation$................................................................................................................$20! 3.3!NON@FUNCTIONAL!REQUIREMENTS!.............................................................................................!20! 3.3.1$Usability$.......................................................................................................................................$20! 3.3.2$Security$and$Privacy$..............................................................................................................$21! 3.3.3$Loose$Coupling$.........................................................................................................................$21! 4"ARCHITECTURE"AND"DESIGN"........................................................................................."23! 4.1!SYSTEM!ARCHITECTURE!.................................................................................................................!23! 4.2!PRESENTATION!LAYER!...................................................................................................................!23! 4.2.1$Integration$to$existing$pages$.............................................................................................$24! 4.2.2$Web$interface$............................................................................................................................$27! 4.3!FEDERATION!AND!DATA!LAYER!....................................................................................................!30! 4.3.1$Request$Handler$......................................................................................................................$30! 4.3.2$Identifying$users$......................................................................................................................$31! 5"IMPLEMENTATION"............................................................................................................."33! 5.1!PRESENTATION!LAYER!...................................................................................................................!33! 5.1.1$Bookmarklet$..............................................................................................................................$33! 5.1.2$Web$Interface$...........................................................................................................................$35! 5.2!FEDERATION!AND!DATA!LAYER!....................................................................................................!38! 5.2.1$Request$Handler$......................................................................................................................$38! 5.2.2$User$Identification$..................................................................................................................$39! 6"TESTS"AND"RESULTS"........................................................................................................."45!