|go ahead... be a heretic|
Re^2: Can't get API::Instagram to workby igoryonya (Monk)
|on Feb 13, 2018 at 10:46 UTC||Need Help??|
because "didn't" I fixed it.
I was here:
before I've posted my question and I've mentioned about it in my question.
with /register/, I've got 'client_id and client_secret and set it up in object creation, as I mentioned in code sample
/authentication/, I've read, but it doesn't explain the API::Instagram perl library. 'code' explanation is very vague in both places.
I didn't find how to get 'code', by using library. I did flollow an $instagram->get_auth_url (with the browser), just to find out, if there will be the 'code', and had to click the 'authenticate' button, then it opened a page with JSON code, where it, had 'code' value. I assumed, that that 'code' was the one, that I needed to use in $instagram->code(), so, I've tried to insert the code, copied from that JSON page here: $instagram->code('copied_code'), but it didn't do anything to solve my issue. Also, even if if would, wouldn't if defy th e porpuse of library. I figure, this is module's job to gather that 'code'.