Emergency Management in Social Media Generation

Emergency Management in Social Media Generation

EMERGENCY MANAGEMENT IN SOCIAL MEDIA GENERATION Deliverable 5.1 Identification of Social Network Providers and API Design Final Thomas Ludwig1, Christian Reuter1 University of Siegen1 September 2014 Work Package 5 Project Coordinator Prof. Dr.‐Ing. Rainer Koch (University of Paderborn) 7th Framework Programme for Research and Technological Development COOPERATION SEC‐2013.6.1‐1: The impact of social media in emergencies D5.1: Identification of Social Network Providers and API Design, Version V1, PU Distribution level Public (PU) Due date 30/09/2014 (M6) Sent to coordinator 30/09/2014 No. of document D5.1 Title Identification of Social Network Providers and API Design Status & Version Final Work Package 5: Information Collection and Presentation Related Deliverables D3.3, D4.1, D5.2, D5.4 Leading Partner University of Siegen Leading Authors Thomas Ludwig, University of Siegen Christian Reuter, University of Siegen Contributors Marc‐André Kaufhold, University of Siegen Federico Sangiorgio, IES (section 5.3) Federica Toscano, IES (section 5.3) Massimo Cristaldi, IES (section 5.3) Mark Tolley, OCC (section 5.4 and 5.5) Mel Mason, OCC (section 5.4 and 5.5) Reviewers Matthias Moi, University of Paderborn Keywords Social Network Provider, API, Open Social, Activity Streams, Facebook, Twitter, Google+, YouTube, Tumblr, Instagram This project has received funding from the European Union’s Seventh Framework Programme for research, technological development and demonstration under grant agreement no 608352. I D5.1: Identification of Social Network Providers and API Design, Version V1, PU Table of contents List of Figures ................................................................................................... V List of Tables ................................................................................................... VI Glossary ......................................................................................................... VII 1 Introduction ......................................................................................... 1 1.1 Abstract .................................................................................................................. 1 1.2 Purpose of the document ...................................................................................... 1 1.3 Target audience ..................................................................................................... 1 2 Selection of Social Media Services ........................................................ 2 3 Existing Services for Data Gathering from Social Media ........................ 3 3.1 Requirements ........................................................................................................ 3 3.2 Existing Services ..................................................................................................... 3 3.2.1 oneall ...................................................................................................... 3 3.2.2 socialmention ............................................................................................. 4 3.2.3 GNIP ...................................................................................................... 4 3.2.4 DataSift ...................................................................................................... 5 3.2.5 BlueJay ...................................................................................................... 5 3.3 Comparison ............................................................................................................ 5 4 Overall Social Media API Design ........................................................... 7 4.1 Crawl Service ......................................................................................................... 9 4.2 Extensibility regarding Platforms and Services ..................................................... 9 5 Data Markup Language OpenSocial and Activity Streams ................... 11 5.1 OpenSocial Core and Social Data specification ................................................... 11 5.2 Activity Streams 2.0 specification ........................................................................ 12 5.3 OpenSocial Parser ................................................................................................ 13 6 Implementation of Social Media API ................................................... 15 6.1 Facebook and Twitter .......................................................................................... 15 6.1.1 Architecture and implementation ............................................................ 15 6.1.1.1 Data Storage: Object‐relational mapping with Hibernate ............................. 15 6.1.1.2 Using the API‐wrappers Facebook4J and Twitter4J ...................................... 16 6.1.2 Package documentation of the Twitter/Facebook Access ....................... 16 6.1.3 Facebook and Twitter API endpoints ....................................................... 17 II D5.1: Identification of Social Network Providers and API Design, Version V1, PU 6.1.3.1 Structure of the Ids ........................................................................................ 17 6.1.3.2 Structure of the tokens .................................................................................. 17 6.1.3.3 Structure of the responses (Collection) ......................................................... 18 6.1.3.4 Synchronous and asynchronous endpoints ................................................... 18 6.1.3.5 Content‐Type ................................................................................................. 19 6.1.3.6 PlattformService ............................................................................................ 19 6.1.3.7 GroupService ................................................................................................. 20 6.1.3.8 MessageService ............................................................................................. 20 6.1.3.9 PageService .................................................................................................... 26 6.1.3.10 PeopleService ................................................................................................ 26 6.1.3.11 CrawlService .................................................................................................. 27 6.2 Twitter Firehose (not implemented) ................................................................... 30 6.2.1 Comparison of Twitter Firehose and the Twitter Streaming API ............. 30 6.2.2 The Firehose API ....................................................................................... 31 6.2.3 Data Volumes ........................................................................................... 32 6.3 Google Services .................................................................................................... 32 6.3.1 YouTube Data API .................................................................................... 32 6.3.1.1 ActivityService ............................................................................................... 33 6.3.1.2 ChannelService .............................................................................................. 35 6.3.1.3 SearchService ................................................................................................ 36 6.3.1.4 VideoService .................................................................................................. 39 6.3.1.5 SubscriptionService ....................................................................................... 41 6.3.2 Google+ API .............................................................................................. 43 6.3.2.1 PeopleService ................................................................................................ 43 6.3.2.2 ActivityService ............................................................................................... 45 6.3.2.3 CommentService ........................................................................................... 52 6.4 Tumblr (not implemented) .................................................................................. 54 6.4.1 Tumblr REST API ....................................................................................... 54 6.4.2 Tumblr Firehose ....................................................................................... 55 6.4.3 Conclusions .............................................................................................. 55 6.5 Instagram (not implemented yet) ....................................................................... 55 6.5.1 Real‐time API ........................................................................................... 55 6.5.2 REST API ................................................................................................... 56 6.5.3 Conclusions .............................................................................................. 56 7 Conclusion and Outlook ...................................................................... 57 III D5.1: Identification of Social Network Providers and API Design, Version V1, PU 8 References .......................................................................................... 58 IV D5.1: Identification of Social Network Providers and API Design, Version V1, PU List of Figures Figure 1: OneAll (Source: http://docs.oneall.com/api/) ...........................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    66 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us