Description Usage Arguments Value Examples
Get data for a URL from the analyse API. For more information see Diffbot's documenation.
1 2 |
url |
The URL to analyse. |
api_key |
Your API key (also called token in the diffbot documenation). |
mode |
Setting to NULL uses the analyse API, where Diffbot tries to dermine the page type and analyse accordingly. Other options are: 'article', 'discussion', 'image', 'product' or 'video'. |
fallback |
If analyse API can't find the correct page type it will use this as a default. Options are: 'article', 'discussion', 'image', 'product' or 'video'. |
fields |
Depends on the API used. See each APIs documatation page for details. |
discussion |
Set to FALSE to not extract comments for articles and products. |
timeout |
How long to wait before timing out request for URL's content. |
callback |
Used for jsonp requests. See documentation. |
An object of class 'diffbot_api'; a list of information returned from Diffbot.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.