Tagged: timeline RSS Toggle Comment Threads | Keyboard Shortcuts

  • Akhmad Fathonih 12:01 am on 10/1/2011 Permalink | Reply
    Tags: , , timeline   

    WordPress Opengraph Plugin for Facebook Timeline 

    Yes, my previous copy paste research on opengraph and facebook plugin finally got some proper love. It’s now, still copy pasted, wrapped in a wordpress plugin. Based on Post Ender sample wp plugin, modified option page.

    Well, that’s it. If you want some sort of boilerplate to fire up your opengraph app, then download this plugin. Remember, it’s not pretty at all.

    Download here

    .

    Update:

    If you are using old app (before Facebook Timeline announcement), make sure you have enabled to advance auth dialog option id your app advanced setting.

    Bug fix 0.1.1:

    • Fix invalid og:type when viewing single post. Should have been article instead of (default) website
     
    • Anonymous 12:11 am on 2/13/2012 Permalink

      can we change the image to something other than the unicorn?

    • neofreko 4:49 am on 2/13/2012 Permalink

      Theoretically we can. (Probably) we can fetch image from the post and assign it as og:image. The unicorn was used because it was a simple approach to give different image for each post url :D

    • cityvillechat 3:39 pm on 3/4/2012 Permalink

      I really enjoy this plugin and was about to modify it but would love to be able to use a dif image for each post

    • Akhmad Fathonih 5:29 pm on 3/4/2012 Permalink

      I made a quick fix to support post’s featured image as og:image

      Check the patch here http://pastebin.com/ArAmgtR2

      Replace the same function within opengrapher.php

  • Akhmad Fathonih 11:49 am on 9/30/2011 Permalink | Reply
    Tags: , , timeline   

    Crash Course, Facebook Timeline Opengraph 

    Finally got my hands dirty on Facebook Opengraph in accordance with Facebook Timeline. It’s pretty straightforward. You create the verb (action) and object and then you can use it right away.

    My case is actually a clone of ‘like’. Using js approach, I put up a small app in a wordpress blog. One thing still bothers me is the huge “Add to Timeline” button. And, user need to press the “Add to Timeline” button. This button is basically quite meaningless to user. It’s not a direct part of any sort of action. The function is similar to fb connect but it doesn’t call any action. Maybe we’ll need some time to get used to it just like when we first met fb connect button.

    Anyway, my idea was to provide badge (via og:image) as a reward when user had read and article. As it will be tedious to create each badge, I use unicorn script to auto generate the badge based on current URL. It definitely needs some love as the result is too rough for a badge.

    View the source at ayokesini.com, no server script involved.

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel