views:

253

answers:

1

Hi every body, Can anyone suggest me how to post attachments to twitter using twitter API, I tried this it is working but ,our attachments has not been posted like images and links ..

my code is like this

TwitterRequest *t=[[TwitterRequest alloc] init];
    t.username=self.username.text;
    t.password=self.password.text;
[t statuses_update:@"text that is posted to twitter" delegate:self requestSelector:@selector(status_updateCallback:)];
+2  A: 

For images, you have to use another service, like Twitpic:

http://twitpic.com/api.do

mlsteeves
Twitter also Supports uploading Images. You dont have to use another service like twitpic
streetparade