Bobbing Wide Web Design Blog

WordPress blog

  • plugins
    • Calendars and Events
      • Calendar plugin
      • The Events Calendar
        • Experiences with the-events-calendar
        • Events calendars on Windows servers
    • Contact forms
      • 6 Contact form WordPress plugins compared
        • Jetpack contact form –

        • Contact Form 7 – [contact-form-7]
        • oik contact form – [bw_contact_form]
    • custom header images
    • Extended Page Lists
    • Featured post widget
    • Galleries and slideshows
      • Fancybox slideshows
      • NextGEN gallery
      • Slideshow gallery pro
      • oik-nivo-slider – [nivo] shortcode for jQuery Nivo slider
        • oik banner image
        • oik-nivo-slider plugin banner
        • oik-nivo-slider banner page 2
      • Slideshow satellite
    • Membership plugins
    • Membership
    • mp3 media player plugins
      • wpaudio-mp3-player – mp3 player
      • audio – HTML 5 mp3 player
    • Page list plugins
    • Rating and voting plugins
    • Redirect plugins
    • Spam checking plugins
    • underConstruction
    • Twitter plugins
      • Twitter feed plugins
    • WordPress Multisite domain mapping
    • WP-table-reloaded
    • How to examples
      • Video
        • Artist on film – Xandrien Thiel
        • Susan Cowe interviewed on Portsmouth Live TV
      • Slideshow Gallery Pro – page 2
      • Slideshow Gallery Pro [ custom=1]
      • [EPL] simplest implementation
      • EPL shortcode and STC Tweet button
  • About
    • About Herb
    • About Bobbing Wide by Caravan
  • Contact us
    • Find us on Google Maps
  • Sitemap
  • All Plugins
  • All Themes
  • Blog
  • _
  • [
  • #
  • A
  • B
  • C
  • D
  • E
  • F
  • G
  • H
  • I
  • J
  • K
  • L
  • M
  • N
  • O
  • P
  • Q
  • R
  • S
  • T
  • U
  • V
  • W
  • X
  • Y
  • Z
You are here: Home / Graphics / Is the Facebook Graph API easy to use?

Is the Facebook Graph API easy to use?

Facebook is changing which means that some things might be easier to do programmatically. So developers like me will be able to pass this on to you in the form of an easy to use plugin.For example, according to the documentation at facebook developers > Core Concepts > Graph API you can render the current profile photo for any object by adding the suffix /picture to the object URL. For example, this will render your public profile photo and there are 3 different sizes: square (50×50) , small (50xvariable) and large (200xvariable) Examples of my profile ( http://www.facebook.com/bobbingwide )

Default = Square  (50×50)

<img src=”https://graph.facebook.com/bobbingwide/picture”>

Small (50 x variable height)

<img src=”http://graph.facebook.com/bobbingwide/picture?type=small”> This can actually appear smaller than square even though it’s physically bigger.

Large (200 x variable height)

<img src=”http://graph.facebook.com/bobbingwide/picture?type=large”>

Example of our business page’s profile

<img src=”http://graph.facebook.com/353892582691/picture”>

Sample output for the object URL

This is what you get if you go to http://graph.facebook.com/353892582691 { “id”: “353892582691”, “name”: “www.bobbingwide.com”, “picture”: “http://profile.ak.fbcdn.net/hprofile-ak-snc4/27533_353892582691_5748_s.jpg”, “link”: “http://www.facebook.com/pages/wwwbobbingwidecom/353892582691″, “category”: “Website”, “website”: “www.bobbingwide.com\nwww.bobbingwidewebdesign.com\nwww.bobbingwidewebdevelopment.com\n”, “founded”: “2010”, “company_overview”: “Bobbing Wide is a web design – web development company based in Rowlands Castle, Hampshire, UK.\nWe specialise in websites developed in WordPress and Drupal.\n”, “mission”: “To design, develop, support and enhance websites for small businesses in and around Hampshire and West Sussex… or further afield.\nTo maintain a good work life balance”, “products”: “new web sites, website maintenance and support. We design and develop websites ranging from Wonder of WordPress (WoW) websites, right up to full e-commerce sites using Drupal and Ubercart. “, “location”: { “street”: “41 Redhill Road”, “city”: “Rowlands Castle”, “country”: “United Kingdom”, “zip”: “PO9 6DE” }, “phone”: “02392 410090″, “likes”: 41 }

Published: March 1, 2011 | Last updated: February 4, 2015

Filed Under: Graphics, How to Tagged With: facebook, Graph API

Component:
Letters: I

About

  • Home
  • About
  • Contact us
  • Sitemap
  • Privacy notice

Contents

  • All Plugins
  • All Themes

Follow Me

Email: herb@bobbingwide.com


Bobbing Wide

Site:  bobbingwidewebdesign.com
© Copyright Bobbing Wide 2010-2021. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress and oik-plugins
WordPress 5.6.1. PHP: 7.2.34. Memory limit: 768M
Bobbing Wide