Closed euccas closed 9 years ago
Does product hunt api only allow javascript to be executed from the server which I set as 'Redirect URL' when creating the app in the api dashboard?
I managed to get it work with the help of Mashape. Now looking for the cause why my previous attempts failed.
I'm building an app which need read access from product hunt API. I registered my app on the api dashboard as the following:
redirect URL: http://euccas.name/eph (This link does not exist though)
I also created a developer_token for testing purpose.
The problem I'm facing is the request to product hunt api always fails either when asking for a client level token, or asking for the posts by using my developer_token. The errors are:
My code: