Sunday, June 12, 2011

RDFa Basic Triple using FOAF

This video provides a glimpse of using RDFa syntax to express a triple using the Friend of a Friend(FOAF) vocabulary. N3 notation is used to explain the Subject Predicate Object format of and RDF triple. The concept of Compact URI̢۪s is also introduced as a way to reduce complexity within a document by providing a unique name for an extensive URI and then using that name each time the URI needs to be referenced.

Sunday, June 5, 2011

Managing Test Users in Facebook



Today I found this cool little application to help create and manage test users for facebook application development. It sounded easy to install so I went ahead and downloaded it.
Facebook Test Users Manager



After installation, I came across couple of issues.

The first one was that in the .htaccess file that came along with the project, the developer had this line:


php_value xdebug.profiler_enable 1


I do not have xdebug enabled on my machine so this caused a misconfiguration error. I had to comment it out.

The second issue was that I was getting the following message:


"SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed".


After a google search came up with this fix (instead of disabling the verification):

  1. download mozila.pam file. See this page for more info: http://davidwalsh.name/php-ssl-curl-error
  2. copy file to C:WINDOWS\system32
  3. Add this to $CURL_OPTS array in facebook.php:

CURLOPT_CAINFO => 'C:WINDOWS\system32\mozilla.pem'

That̢۪s it. I hope it helps somebody