I whipped up a quick example of tagging with Freebase Suggest.
This is just the client-side user interface. Integration with an existing tagging system is left as an exercise for the reader đ
I whipped up a quick example of tagging with Freebase Suggest.
This is just the client-side user interface. Integration with an existing tagging system is left as an exercise for the reader đ
It seems some of the Freebase API examples are broken. Thanks to Bart for the heads up.
(Update Nov 07 – Freebase no longer requires an account for read access. So the cookie is probably unnecessary. )
Here are the most basic steps to getting started with Freebase PHP:
metaweb-user="Z|a_aaaaaaaaaa|a_#1111a1a1111...snip...ZaaZZaZZ1aZ/ZZ"
I challenge you to come up with a smaller test script!
You can see the script running successfully on my server:
Test Freebase access using PHP
Loading: http://www.freebase.com/api/service/mqlread?q={"query":[{"id":"/type/int"}]}
Query succeeded
Response:
{ "status": "200 OK", "query": {}, "code": "/api/status/ok", "messages": [], "result": { "query": [ { "id": "/type/int" } ] } }