diff --git a/sec/com/dropboxapi.hoon b/sec/com/dropboxapi.hoon index 271f261439..0027032998 100644 --- a/sec/com/dropboxapi.hoon +++ b/sec/com/dropboxapi.hoon @@ -19,4 +19,20 @@ ++ in in-code:aut ++ bak (bak-save-access:aut . |=(tok/token:aut +>(tok tok))) -- -:: + +:: create a developer app on https://www.instagram.com/developer/ to get a +:: client id and secret. + +:: Be sure to be on https://localhost:8443 and to have registered +:: 'http://localhost:8443/~/ac/dropboxapi.com/~./in' as the redirect URI. +:: (If unable to change port number of ship, change the redirect URI port in %eyre) + +:: |init-oauth2 |init-oauth2 /com/instagram + +:: Enter this sample command to list the contents of one of your directories: +:: +https://api.dropboxapi.com/2/files/list_folder &json (joba %paths+'/{INSERT-DIR-NAME') + +:: Before you receive the response, you'll have to click on the link in the +:: dojo to authenticate yourself. + +:: You should receive a response listing the contents of that directory. diff --git a/sec/com/instagram.hoon b/sec/com/instagram.hoon index 59d97f37ed..d286b79f53 100644 --- a/sec/com/instagram.hoon +++ b/sec/com/instagram.hoon @@ -23,10 +23,14 @@ :: create a developer app on https://www.instagram.com/developer/ to get a :: client id and secret +:: Be sure to be on https://localhost:8443, and to have registered +:: http://localhost:8443/~/ac/instagram.com/~./in as the redirect URI. +:: (If unable to change port number of ship, change the redirect URI port in %eyre) :: |init-oauth2 |init-oauth2 /com/instagram -:: Enter home this sample command to get your user information. -:: Before you receive the response, you'll have to clink on the link. -:: If you successfully auth, you should receive the response in the dojo +:: Enter home this sample command to get your user information: +:: +https://api.instagram.com/v1/users/self +:: Before you receive the response, you'll have to clink on the link to +:: authenicate yourself. You should then receive the response.