mirror of https://github.com/axmolengine/axmol.git
32 lines
1.0 KiB
C
32 lines
1.0 KiB
C
|
//
|
||
|
// SinaWeiboConstants.h
|
||
|
// sinaweibo_ios_sdk
|
||
|
//
|
||
|
// Created by Wade Cheng on 4/22/12.
|
||
|
// Copyright (c) 2012 SINA. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#ifndef sinaweibo_ios_sdk_SinaWeiboConstants_h
|
||
|
#define sinaweibo_ios_sdk_SinaWeiboConstants_h
|
||
|
|
||
|
#define SinaWeiboSdkVersion @"2.0"
|
||
|
|
||
|
#define kSinaWeiboSDKErrorDomain @"SinaWeiboSDKErrorDomain"
|
||
|
#define kSinaWeiboSDKErrorCodeKey @"SinaWeiboSDKErrorCodeKey"
|
||
|
|
||
|
#define kSinaWeiboSDKAPIDomain @"https://open.weibo.cn/2/"
|
||
|
#define kSinaWeiboSDKOAuth2APIDomain @"https://open.weibo.cn/2/oauth2/"
|
||
|
#define kSinaWeiboWebAuthURL @"https://open.weibo.cn/2/oauth2/authorize"
|
||
|
#define kSinaWeiboWebAccessTokenURL @"https://open.weibo.cn/2/oauth2/access_token"
|
||
|
|
||
|
#define kSinaWeiboAppAuthURL_iPhone @"sinaweibosso://login"
|
||
|
#define kSinaWeiboAppAuthURL_iPad @"sinaweibohdsso://login"
|
||
|
|
||
|
typedef enum
|
||
|
{
|
||
|
kSinaWeiboSDKErrorCodeParseError = 200,
|
||
|
kSinaWeiboSDKErrorCodeSSOParamsError = 202,
|
||
|
} SinaWeiboSDKErrorCode;
|
||
|
|
||
|
#endif
|