1 / 11

Facebook Markup Language - FBML

Teppo Räisänen Teppo.raisanen@oulu.fi Tietojenkäsittelytieteiden laitos, Oulun yliopisto. Facebook Markup Language - FBML. Tilanne. Facebook ohjelmistokehitysprosessi. Facebook applikaation tekemisen vaiheet: Hommaa Facebook tunnus Hommaa Web-hostaus palvelu

hanh
Download Presentation

Facebook Markup Language - FBML

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Teppo Räisänen | Oulun yliopisto Teppo Räisänen Teppo.raisanen@oulu.fi Tietojenkäsittelytieteiden laitos, Oulun yliopisto Facebook Markup Language - FBML

  2. Teppo Räisänen | Oulun yliopisto Tilanne

  3. Teppo Räisänen | Oulun yliopisto Facebook ohjelmistokehitysprosessi • Facebook applikaation tekemisen vaiheet: • Hommaa Facebook tunnus • Hommaa Web-hostaus palvelu • Asenna Facebook Kehittäjä -applikaatio • Rekisteröi uusi applikaatio Kehittäjä-applikaation avulla • Ohjelmoi applikaatio • Julkaise applikaatio Facebook:ssa

  4. Teppo Räisänen | Oulun yliopisto Facebook ohjelmistokehitysprosessi http://apps.facebook.com Facebook -serverit students.oamk.fi Käyttäjä Students -serveri

  5. Teppo Räisänen | Oulun yliopisto PHP-esimerkki <?php require_once ”facebook.php”; $apikey = ”asdflgasdflkhasdfgasdlfg”; $secret = ”asdf8970adsf70as78asdf”; $facebook= new Facebook($apikey, $secret); $user=$facebook->require_login(); print $user; ?>

  6. Teppo Räisänen | Oulun yliopisto FBML • FBML – Facebook Markup Language on Facebook:in vastine HTML:lle • Facebook:ssa käytettävää HTML:ää sanotaan FBML:ksi • http://wiki.developers.facebook.com/index.php/FBML

  7. Teppo Räisänen | Oulun yliopisto FBML • Sallitut HTML-tagit: • a, abbr. acronym, address, b, do, big, blockquote, bracaption, center, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, hr, i, img, input, ins, kbd, label, legend, li, link, meta, ol, optgroup, option, p, pre, q, s, samp, script, select, small, span, strike, strong, style, sub, sup, table, tbody, td, textarea, tfoot, th, thead, tr, tt, u, ul, var • Kielletyt tagit: • html, body, head, applet, object, …

  8. Teppo Räisänen | Oulun yliopisto Facebook wiki • http://wiki.developers.facebook.com

  9. Teppo Räisänen | Oulun yliopisto Harjoitus 3 • Tehdään yhdessä uusi applikaatio, jota käytämme jatkossa • Käytetään fb:tabs -tagia

  10. Teppo Räisänen | Oulun yliopisto Harjoitus 3 <fb:tabs> <fb:tab-item href=‘index.php' title=’Index' /> <fb:tab-item href=’fbml.php' title=’FBML' /> <fb:tab-item href=’fbjs.php' title=’FBJS' /> </fb:tabs> <p>Tervehdys, <fb:name uid=“$user” useyou=“false” /></p> <fb:profile-pic uid=“$user” />

  11. Teppo Räisänen | Oulun yliopisto Harjoitus 4 – yleisimpiä FBML-tageja Harjoitellaan yleisimpiä FBML-tageja http://wiki.developers.facebook.com/index.php/FBML • fb:profile-pic • fb:wall • fb:dialog • fb:dashboard • fb:board • fb:random • fb:share • fb:mp3 • fb:iframe • fb:swf • fb:switch • fb:editor • fb:request-form

More Related