Hello Cecil!

If you want to work with the instagram API I've put together a library that
simplifies the retrieval of the necessary oauth2 token. Maybe you will find
it useful!

Please see https://github.com/blmstrm/loudmoauth
and here is an example using the library with instagram among other APIs
https://github.com/blmstrm/loudmoauth-examples/blob/master/src/loudmoauth_examples/core.clj

Cheers,

blmstrm

Den 19 juli 2016 4:26 em skrev "Cecil Westerhof" <cldwester...@gmail.com>:

> It never hurts to combine things. I just started again with Clojure and I
> started with taking photos. In doing the latter I found out that I can take
> nice pictures of insects. But they mostly only take a part of the photo. At
> the moment I am using Image Magick on the command line with trial and error
> to crop the right part of the photo. For example:
>     https://www.instagram.com/p/BH7r97NgvFX/
>
> But this is a ‘bit’ of work. So I was thinking about writing a Clojure
> program to do the cropping for me. That would save me a lot of time I think
> and the best way to learn a language is to use it. I think I could manage
> most parts, but I need a little help.
>
> My pictures have a dimension of 5,184x3,456 and I need to make a crop of
> 1.080x1.080. This is a little to big for my screen. So I am thinking about
> dividing everything by 8.
>
> I need to know two things:
> - How would I display the picture as a 648x432 picture?
> - How do I draw a square of 135x135 on it? So I can select what to crop.
>
> There are some other things to find out. But those I can find out for
> myself I would think. ;-)
>
> Would anyone be interested in something like this? Then I could share it
> on GitHub.
> If anyone has ideas for other functionalities: let me know.
> I have myself a few:
> - Posting the picture on Instagram (and others) from the program.
> - Putting the pictures into SQLite.
> - Something to select pictures out of a range.
> - …
>
> How easy is it to use Clojure to work with InstaGram, LinkedIn, FaceBook,
> Google+ and Twitter?
>
> --
> Cecil Westerhof
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to