• Resolved kangenguru

    (@kangenguru)


    Hi,

    You had previously referenced a Groupon API sample

    Using the free version of the plugin JSON content importer – unfortunately I am getting this error:

    Something went wrong fetching URL with JSON-data: A valid URL was not provided.error: get of json-data failed – plugin aborted: check url of json-feed problems with JSON-structure: check basenode-param

    The code I used was at this link you had provided:

    http://www.reiseliste.de/groupon-api/

    [jsoncontentimporter url=“http://partner-api.groupon.com/deals.json?tsToken=US_AFF_0_987654_123456_0″]
    {subloop-array:deals:4}{title}
    {highlightsHtml:html} Price and Options:
    {subloop-array:deals.options:4}{deals.options.title}: {subloop:deals.options.price:1}{deals.options.price.formattedAmount}{/subloop:deals.options.price}
    
    {/subloop-array:deals.options}
    {/subloop-array:deals}
    
    [/jsoncontentimporter]

    Please advise.

    https://wordpress.org/plugins/json-content-importer/

Viewing 1 replies (of 1 total)
  • Plugin Author berkux

    (@berkux)

    Hi,

    change the quotation mark inside the shortcode. When copypasting wrong quotation marks were inserted.

    Bernhard

Viewing 1 replies (of 1 total)
  • The topic ‘Groupon Sample Code NOT Working’ is closed to new replies.