46
Programming / How to use Facebook Open Graph Protocol
« on: March 01, 2011, 01:10:38 AM »
Hi,
I use version 1.7.6
My gallery is at www.jeyjoo.com/gallery/index.php
My detail page currently displays a like button count using Facebook OGP. when clicked the user likes the search page.
I would like to change this such that the user can like each individual URL.
To do this I need a way of automatically specifying:
1. The image url
2. The page to like URL (the current page url for each image)
and preferably:
3. title tag (using image title) e.g. <meta property="og:title" content="image of ....."/>
4. description tag using image description e.g. <meta property="og:description" content="image description.............."/>
Any ideas,
Thanks,
Mike
I use version 1.7.6
My gallery is at www.jeyjoo.com/gallery/index.php
My detail page currently displays a like button count using Facebook OGP. when clicked the user likes the search page.
I would like to change this such that the user can like each individual URL.
To do this I need a way of automatically specifying:
1. The image url
2. The page to like URL (the current page url for each image)
and preferably:
3. title tag (using image title) e.g. <meta property="og:title" content="image of ....."/>
4. description tag using image description e.g. <meta property="og:description" content="image description.............."/>
Any ideas,
Thanks,
Mike