-
Notifications
You must be signed in to change notification settings - Fork 4
/
Flickr.h
34 lines (28 loc) · 789 Bytes
/
Flickr.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
// Flickr.h
// AnimatedPhotoViewer
//
// Created by Chad Berkley on 11/16/10.
// Copyright 2010 OffHeGoes. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ObjectiveFlickr.h"
/*Flickr key
Key: 06878e5364a281e7ccdc5b5f8f85e57e
Secret: 2095762ff1a7b481
Your authentication URL is http://www.flickr.com/auth-72157619852874490
*/
@interface Flickr : NSObject <OFFlickrAPIRequestDelegate>
{
NSString *apikey;
NSString *secret;
OFFlickrAPIContext *context;
}
@property (nonatomic, retain, readonly) NSString *apikey;
@property (nonatomic, retain, readonly) NSString *secret;
@property (nonatomic, retain, readonly) OFFlickrAPIContext *context;
+ (Flickr*)sharedInstance;
- (void)openAuthUrl;
- (void)getAuthToken:(NSString*)frob;
- (void)searchFlickr;
@end