Closed realwindz closed 8 years ago
Hi,
which PHP client are you using? With this one (the one in whose repo you're in right now) it's as simple as:
$d = new Diffbot('mytoken');
$result = $d->createArticleAPI('http://www.cnn.com/2016/03/03/middleeast/syria-war/')->call();
$tags = $result->getTags();
No need for fields or anything else.
OK, cool, seems like you updated the API. I was using this one: https://github.com/diffbot/diffbot-php-client
Maybe you can redirect your PHP library to this new one API
Ah, yes, forgot about that - I've put up a deprecation notice and will do a full redirect soon.
Hi, I`m using the php library. Normally I use the field array as:
But the returned json didn`t contain the scores or url as the website shown. I tried to use like this
but the json still not returning the scores for tags.