Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Serviceklass för Facebook Graph API
Linnaeus University, Faculty of Science and Engineering, School of Computer Science, Physics and Mathematics.
2011 (Swedish)Independent thesis Basic level (university diploma), 10 credits / 15 HE creditsStudent thesis
Abstract [sv]

Rapporten grundar sig på en delmängd av ett projekt som utfördes åt uppdragsgivaren SocialWorks. Projektet innefattade bland annat att arbeta mot externa webbtjänster.

Genom webbtjänster kan webbaserade datorprogram kommunicera och skicka data till varandra. Då en webbtjänst nyttjas behöver utvecklaren sätta sig in i API:et för webbtjänsten. Denna rapport tar upp ett antal problem som kan uppstå vid användandet av en sådan webbtjänst och hur dessa problem kan lösas genom att skapa ett mellanlager i form av en serviceklass. Alla API-anrop ska gå genom serviceklassen och därmed behöver kodförändringar endast göras i serviceklassen ifall API:et förändras.

Som ett resultat av arbetet togs en serviceklass fram som underlättar användningen av Facebooks Graph API tillsammans med PHP-ramverket Zend Framework. Genom serviceklassen behöver användaren inte sätta sig in i Facebook Graph API i detalj. Dessutom skapades en testapplikation i Zend dels för att testa serviceklassens funktionalitet och dels för att hantera så kallade testanvändare som Facebooks Graph API tillhandahåller.

Abstract [en]

This report is based on a subset of a project that was made for the company SocialWorks. The project included working with web services.

Through web services, web applications are able to communicate and send data to each other. When a web service is used, the user has to study the web service API. This report addresses a number of problems that might arise from the use of such web services and how these problems can be solved by creating a service class that is used as a middle layer. All API calls will be made through the service class and thus changes in the API will only require modification of code in the service class.

As a result of this report a service class was created using the PHP framework Zend Framework to facilitate the use of Facebook's Graph API. By using the service class, the user does not have to study the Facebook Graph API in detail. A test application was created to test the service class functionality and manage test users provided by the Facebook Graph API.

Place, publisher, year, edition, pages
2011.
Keyword [sv]
Web service, webbtjänst, API, Facebook grapgh API, Serviceklass
National Category
Computer Science
Identifiers
URN: urn:nbn:se:lnu:diva-13729OAI: oai:DiVA.org:lnu-13729DiVA: diva2:434266
Subject / course
Computer Science
Educational program
Web Development Programme, 120 credits
Uppsok
Physics, Chemistry, Mathematics
Supervisors
Examiners
Available from: 2011-08-31 Created: 2011-08-14 Last updated: 2016-04-08Bibliographically approved

Open Access in DiVA

fulltext(1310 kB)123 downloads
File information
File name FULLTEXT01.pdfFile size 1310 kBChecksum SHA-512
456bacaee84c922dffe6a7842a0a918cad8d0aa2ce20b6de4b1700898561016d1ff8a7ee033ee50cc344f2fca9ddb4d9ac86cbb604229411391e82424b1f0dfb
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Iu, Marco
By organisation
School of Computer Science, Physics and Mathematics
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 123 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 152 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf