Shameless self promotion – Twitter Bot

For this week’s assignment, we were supposed to make our own twitter bot.

I’m obsessed with photography.  In my free time I love to travel and take pictures. Beside my portfolio : PHOTOGRAPHY PORTFOLIO, fb page: FB Page I also have a FLICKR ACCOUNT:

screen-shot-2016-10-10-at-10-08-48-pm

I decided to create a twitter bot, that will upload my most recent photo, link to my page and display some hashtags.

I must say, it wasn’t an easy task, since twitter doesn’t create thumbnails, also doesn’t allow the user to upload pictures directly from url.

To be able to post a picture, along with some text, I had to download it to my computer and send it again to twitter.

I had a lot of problems with that, but finally, after an office hour and 123456765432 hours of my own struggling, I managed to figure out the way.

Here’s how it looks like:

screen-shot-2016-10-10-at-10-14-53-pm

And here…  is my favorite bug that I had:

screen-shot-2016-10-10-at-8-57-13-pm