Thanks in advance and sorry if I'm asking a very silly question.
I am trying and failing to make httr work with the Noun Project API).
The site suggests a very simple access based just on the key and the secret.
My R code is as follows:
token <- oauth1.0_token( endpoint = oauth_endpoint( request = "http://api.thenounproject.com/", authorize = "http://api.thenounproject.com/icon/15", access = "http://api.thenounproject.com/icon/15"), app = oauth_app( appname = "nounprojectR", key = key, secret = secret))
It opens a browser window but gives a
Missing OAuth parameters"
This seems like it should be a really simple problem - like a gap between how httr and the API are handling the key and secret - perhaps API is not recognising the text of the key for some reason.
I've managed to make it work with the python function OAuth1 from requests_oauthlib.
It seems like I am making a simple one legged request that returns a JSON object.
However, I would really like to make this work natively in R if at all possible.
It's part of a Hacktoberfest 2018 project for the CaRdiff User Group but we are failing at the first hurdle
The Github repo is here: https://github.com/CaRdiffR/nounprojectR
I have raised an issue as part of the httr package and I've been advised to ask the friendly people here for help.
I imagine I'm probably doing something really stupid but I'm really at my wits end trying to make this work and would love a bit of help if anybody recognises the problem.
Thanks a lot, Paul