Uploading picture to twitter.

Hello ladies and sirs,

I am having this silly idea of having arduino populate one of my social networks feeds every once in a few days but i don’t know how to approach twitter since i am not a programmer so i am struggling.

I am using Arduino yun and a camera. Sketch looks like this:

#include <Bridge.h>
#include <Process.h>

void takePicture() {
  Process p; 
  p.begin("fswebcam"); 
  p.addParameter("/path/name.jpg"); 
  p.addParameter("-r 800x600"); 
  p.run(); 
}

void uploadPicture() {
  Process p; 

}

void setup() {
  Bridge.begin();
}

void loop() {
  takePicture();
  uploadPicture();
  delay(random (X,Y));
}

But it’s obviously missing the upload part which i am looking to create. I am imagining that i am not the first guy who is trying to upload picture to twitter but i am struggling to actually google something that isn’t 5 years old. Can you point me in the right direction?

Cheers.