MySocials Libraries: Unified Access to Services of Social Networks - - PowerPoint PPT Presentation

mysocials libraries unified access to services of social
SMART_READER_LITE
LIVE PREVIEW

MySocials Libraries: Unified Access to Services of Social Networks - - PowerPoint PPT Presentation

MySocials Libraries: Unified Access to Services of Social Networks Sergey Zakharov, Pavel Shiryaev, Anna Samoryadova, Kirill Kulakov Petrozavodsk State University Department of Computer Science 9 th FRUCT conference, April 2529,


slide-1
SLIDE 1

MySocials Libraries: Unified Access to Services of Social Networks

Sergey Zakharov, Pavel Shiryaev, Anna Samoryadova, Kirill Kulakov

Petrozavodsk State University Department of Computer Science

9th FRUCT conference, April 25–29, Petrozavodsk, Russia

Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 1 / 15

slide-2
SLIDE 2

Table of Contents

1

Social networks

2

MySocials API

3

Implementation

4

Links

5

Statistics

6

Future plans

7

Conclusion

Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 2 / 15

slide-3
SLIDE 3

Social networks

Problem Domain

User view:

◮ Different networks

(VKontakte, Facebook, etc.)

◮ Different services (Chat,

Image exchange, etc.)

◮ Cross-service collaboration

Application view:

◮ Different API

implementations

◮ Different usage scenarios ◮ Service usage restrictions Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 3 / 15

slide-4
SLIDE 4

Social networks

Example of use case: uploading photos

Application view: User view:

Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 4 / 15

slide-5
SLIDE 5

MySocials API

The idea of library for social network

Common API for applications Using services API to access to data Simultaneous support of several applications using “account id” Independently fulfills authorization and CAPTCHA process requests Supports application-defined or system proxy

Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 5 / 15

slide-6
SLIDE 6

MySocials API

MySocials API

Flexible format, based on XML Base unit functions Functions are divided into classes:

Name of the class Description settings Class for processing driver settings profile Class for processing user profiles friends Class for processing friends messages Class for processing personal messages photos Class for processing images and albums audio Class for processing audio files

Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 6 / 15

slide-7
SLIDE 7

Implementation

Architecture

Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 7 / 15

slide-8
SLIDE 8

Implementation

WebAuth - web-authorization tool

No direct access to UI from library Authorization through web-interface Project page: http://oss.fruct.org/wiki/Webauth

Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 8 / 15

slide-9
SLIDE 9

Implementation

Library template

Template: base logic of the library network functions interaction with WebAuth interface functions work with user profiles Library: xslt parsers service errors description config files processing features of the service

Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 9 / 15

slide-10
SLIDE 10

Implementation

MySocials applications

MySocials http://oss.fruct.org/wiki/MySocials MySocials Gallery http://mgallery.garage.maemo.org Sharing plugin for maemo5 http://vkontakte-photo.garage.maemo.org QMF-vkontakte http://qmf-vkontakte.garage.maemo.org QMF-facebook http://qmf-facebook.garage.maemo.org Vk-Telepathy http://oss.fruct.org/wiki/VkTelepathy

Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 10 / 15

slide-11
SLIDE 11

Implementation

Code metrics

METRICS Template Libmsavk Libmsafb Libmsafl Libmsamm

LOC

1192 188 183 152 178

Comments

507 152 154 148 148

XSLT files

4 45 34 23 24

Supported methods

3 31 26 16 18

Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 11 / 15

slide-12
SLIDE 12

Links

Links

Project wiki: http://oss.fruct.org/wiki/MySocials Open source: http://gitorious.org/mysocials Obs: https://build.opensuse.org/project/show? project=home:mysocials https://build.pub.meego.com/project/show? project=home:kulakov Extras-devels: http://maemo.org/packages/ view/{libmsavk, libmsafb, libmsafl, libmsamm} Please, send your comments to maemo-mysocials@cs.karelia.ru and bugs to http://oss.fruct.org/bugzilla/

Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 12 / 15

slide-13
SLIDE 13

Statistics

Statistics

Maemo extras-devel repository libmsavk - 3461 (since Sep’10) libmsafb - 3034 (since Nov’10) libmsafl - 658 (since Feb’11) libmsamm - 281 (since Mar’11) Project history v0.1 - part of MySocials project v0.2 - separate library v0.3 - using new API, facebook driver v0.4 - driver template, new services libmsavk libmsafb

Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 13 / 15

slide-14
SLIDE 14

Future plans

Future plans

Libraries for other social networks

◮ MySpace ◮ Photobucket ◮ LastFm ◮ Picasa

WebAuth

◮ processing captcha requests ◮ save login and password by user request ◮ title page for authorization

Upgrade MySocials API

◮ add support of audio and video ◮ request optimization Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 14 / 15

slide-15
SLIDE 15

Conclusion

Thank you for your attention!

Sergey Zakharov MySocials Libraries: Unified Access to Services of Social Networks FRUCT 25–29.04.2011 15 / 15