Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (30 sloc) 2.18 KB
//
// IRWebAPITwitterInterface+Timeline.h
// IRWebAPIKit
//
// Created by Evadne Wu on 12/17/10.
// Copyright 2010 Iridia Productions. All rights reserved.
//
#import "IRWebAPITwitterInterface.h"
#ifndef __IRWebAPIInterface__Timeline__
#define __IRWebAPIInterface__Timeline__
typedef enum {
// IRWebAPITwitterTimelinePublic,
IRWebAPITwitterTimelineHome,
IRWebAPITwitterTimelineUser
} IRWebAPITwitterTimelineType;
typedef enum {
IRWebAPITwitterRetweetByUser, // Retweets retweeted by current user
IRWebAPITwitterRetweetByFollowers, // Retweets retweeted by other people
IRWebAPITwitterRetweetOfUser // Retweets from other people, that are tweets by current user
} IRWebAPITwitterRetweetType;
#endif
@interface IRWebAPITwitterInterface (Timeline)
- (void) retrieveStatusesFromTimeline:(IRWebAPITwitterTimelineType)inTimelineType withRange:(IRWebAPITwitterStatusIDRange)range successHandler:(IRWebAPIInterfaceCallback)inSuccessCallback failureHandler:(IRWebAPIInterfaceCallback)inFailureCallback;
- (void) retrieveMentionsWithRange:(IRWebAPITwitterStatusIDRange)inRange successHandler:(IRWebAPIInterfaceCallback)inSuccessCallback failureHandler:(IRWebAPIInterfaceCallback)inFailureCallback;
- (void) retrieveRetweetsOfType:(IRWebAPITwitterRetweetType)inType withRange:(IRWebAPITwitterStatusIDRange)inRange successHandler:(IRWebAPIInterfaceCallback)inSuccessCallback failureHandler:(IRWebAPIInterfaceCallback)inFailureCallback;
- (void) retrieveFavoritesWithRange:(IRWebAPITwitterStatusIDRange)inRange successHandler:(IRWebAPIInterfaceCallback)inSuccessCallback failureHandler:(IRWebAPIInterfaceCallback)inFailureCallback;
- (void) setStatus:(IRWebAPITwitterStatusID)inID asFavorited:(BOOL)inBecomesFavorited successHandler:(IRWebAPIInterfaceCallback)inSuccessCallback failureHandler:(IRWebAPIInterfaceCallback)inFailureCallback;
- (void) retweetStatus:(IRWebAPITwitterStatusID)inID successHandler:(IRWebAPIInterfaceCallback)inSuccessCallback failureHandler:(IRWebAPIInterfaceCallback)inFailureCallback;
- (void) retrieveStatusWithIdentifier:(IRWebAPITwitterStatusID)inID successHandler:(IRWebAPIInterfaceCallback)inSuccessCallback failureHandler:(IRWebAPIInterfaceCallback)inFailureCallback;
@end
Jump to Line
Something went wrong with that request. Please try again.