ShareSDK.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <DevInfor>
  3. <!--
  4. 说明:
  5. 1、表格中的第一项
  6. <ShareSDK
  7. AppKey="iosv1101" />
  8. 是必须的,其中的AppKey是您在ShareSDK上注册的开发者帐号的AppKey
  9. 2、所有集成到您项目的平台都应该为其在表格中填写相对应的开发者信息,以新浪微博为例:
  10. <SinaWeibo
  11. Id="1"
  12. SortId="1"
  13. AppKey="568898243"
  14. AppSecret="38a4f8204cc784f81f9f0daaf31e02e3"
  15. RedirectUrl="http://www.mob.com"
  16. ShareByAppClient="true"
  17. Enable="true" />
  18. 参数说明:
  19. Id:平台序号(请勿改动)
  20. SortId【本参数仅在安卓环境生效】 : 此平台在分享列表中的位置,由开发者自行定义,可以是任何整型数字,数值越大越靠后
  21. ShareByAppClient【本参数仅在安卓环境生效】: 标识是否使用客户端分享,默认是false
  22. AppKey/AppSecret:RedirectUrl:您在新浪微博上注册开发者信息和应用后得到的信息
  23. Enable:表示此平台是否有效,布尔值,默认为true,如果Enable为false,即表示停用该平台
  24. 其中的SortId是此平台在分享列表中的位置,由开发者自行定义,可以是任何整型数字,数值越大
  25. -->
  26. <!-- <ShareSDK-->
  27. <!-- AppKey = "iosv1101"/>-->
  28. <!-- <SinaWeibo-->
  29. <!-- Id="1"-->
  30. <!-- SortId="1"-->
  31. <!-- AppKey="568898243"-->
  32. <!-- AppSecret="38a4f8204cc784f81f9f0daaf31e02e3"-->
  33. <!-- RedirectUrl="http://www.sharesdk.cn"-->
  34. <!-- AuthType="both"-->
  35. <!-- ShareByAppClient="true"-->
  36. <!-- Enable="true" />-->
  37. <!-- <TencentWeibo-->
  38. <!-- Id="2"-->
  39. <!-- SortId="2"-->
  40. <!-- AppKey="801307650"-->
  41. <!-- AppSecret="ae36f4ee3946e1cbb98d6965b0b2ff5c"-->
  42. <!-- RedirectUri="http://sharesdk.cn"-->
  43. <!-- Enable="true" />-->
  44. <!-- <QZone-->
  45. <!-- Id="3"-->
  46. <!-- SortId="3"-->
  47. <!-- AppId="100371282"-->
  48. <!-- AppKey="aed9b0303e3ed1e27bae87c33761161d"-->
  49. <!-- AuthType="both"-->
  50. <!-- Enable="true" />-->
  51. <!--
  52. 使用微信系列平台:
  53. 【对于iOS请看】
  54. BypassApproval:该字段仅在安卓生效,请忽略。
  55. Wechat,WechatMoments,WechatFavorite分别代表微信好友,微信朋友圈和微信收藏。
  56. 在使用分享菜单分享时他们是一一对应出现在菜单中的。如需去掉其中一个平台,将下列对应的注释掉即可。
  57. 【对于Android请看】
  58. Wechat微信和WechatMoments微信朋友圈的appid是一样的;
  59. 注意:开发者不能用我们这两个平台的appid,否则分享不了
  60. 微信测试的时候,微信测试需要先签名打包出apk,
  61. sample测试微信,要先签名打包,keystore在sample项目中,密码123456
  62. BypassApproval是绕过审核的标记,设置为true后AppId将被忽略,故不经过
  63. 审核的应用也可以执行分享,但是仅限于分享文字和图片,不能分享其他类型,
  64. 默认值为false。此外,微信收藏不支持此字段。
  65. -->
  66. <!-- <Wechat-->
  67. <!-- Id="4"-->
  68. <!-- SortId="4"-->
  69. <!-- AppId="wx4868b35061f87885"-->
  70. <!-- AppSecret="64020361b8ec4c99936c0e3999a9f249"-->
  71. <!-- BypassApproval="false"-->
  72. <!-- Enable="true" />-->
  73. <!-- <WechatMoments-->
  74. <!-- Id="5"-->
  75. <!-- SortId="5"-->
  76. <!-- AppId="wx4868b35061f87885"-->
  77. <!-- AppSecret="64020361b8ec4c99936c0e3999a9f249"-->
  78. <!-- BypassApproval="false"-->
  79. <!-- Enable="true" />-->
  80. <!-- <WechatFavorite-->
  81. <!-- Id="6"-->
  82. <!-- SortId="6"-->
  83. <!-- AppId="wx4868b35061f87885"-->
  84. <!-- AppSecret="64020361b8ec4c99936c0e3999a9f249"-->
  85. <!-- Enable="true" />-->
  86. <!-- <QQ-->
  87. <!-- Id="7"-->
  88. <!-- SortId="7"-->
  89. <!-- AppId="100371282"-->
  90. <!-- AppKey="aed9b0303e3ed1e27bae87c33761161d"-->
  91. <!-- AuthType="both"-->
  92. <!-- ShareByAppClient="true"-->
  93. <!-- Enable="true" />-->
  94. <!-- <Facebook-->
  95. <!-- Id="8"-->
  96. <!-- SortId="8"-->
  97. <!-- ConsumerKey="107704292745179"-->
  98. <!-- ConsumerSecret="38053202e1a5fe26c80c753071f0b573"-->
  99. <!-- RedirectUrl="http://mob.com"-->
  100. <!-- AuthType="both"-->
  101. <!-- Enable="true" />-->
  102. <!-- <Twitter-->
  103. <!-- Id="9"-->
  104. <!-- SortId="9"-->
  105. <!-- ConsumerKey="LRBM0H75rWrU9gNHvlEAA2aOy"-->
  106. <!-- ConsumerSecret="gbeWsZvA9ELJSdoBzJ5oLKX0TU09UOwrzdGfo9Tg7DjyGuMe8G"-->
  107. <!-- CallbackUrl="http://mob.com"-->
  108. <!-- Enable="true" />-->
  109. <!-- <Renren-->
  110. <!-- Id="10"-->
  111. <!-- SortId="10"-->
  112. <!-- AppId="226427"-->
  113. <!-- ApiKey="fc5b8aed373c4c27a05b712acba0f8c3"-->
  114. <!-- SecretKey="f29df781abdd4f49beca5a2194676ca4"-->
  115. <!-- AuthType="both"-->
  116. <!-- Enable="true" />-->
  117. <!-- <KaiXin-->
  118. <!-- Id="11"-->
  119. <!-- SortId="11"-->
  120. <!-- AppKey="358443394194887cee81ff5890870c7c"-->
  121. <!-- AppSecret="da32179d859c016169f66d90b6db2a23"-->
  122. <!-- RedirectUri="http://www.sharesdk.cn"-->
  123. <!-- Enable="true" />-->
  124. <!-- <Email-->
  125. <!-- Id="12"-->
  126. <!-- SortId="12"-->
  127. <!-- Enable="true" />-->
  128. <!-- <ShortMessage-->
  129. <!-- Id="13"-->
  130. <!-- SortId="13"-->
  131. <!-- Enable="true" />-->
  132. <!-- <Douban-->
  133. <!-- Id="16"-->
  134. <!-- SortId="16"-->
  135. <!-- ApiKey="031a96a3aa8b28af094fc3eaffa17a0d"-->
  136. <!-- Secret="2e675e730571b75d"-->
  137. <!-- RedirectUri="http://mob.com"-->
  138. <!-- Enable="true" />-->
  139. <!-- <YouDao-->
  140. <!-- Id="17"-->
  141. <!-- SortId="17"-->
  142. <!-- HostType="product"-->
  143. <!-- ConsumerKey="dcde25dca105bcc36884ed4534dab940"-->
  144. <!-- ConsumerSecret="d98217b4020e7f1874263795f44838fe"-->
  145. <!-- RedirectUri="http://www.sharesdk.cn/"-->
  146. <!-- Enable="true" />-->
  147. <!--
  148. 使用印象笔记:
  149. 【对于安卓请看】
  150. 【对于安卓,仅<Evernote>有效】
  151. 在中国大陆,印象笔记有两个服务器,一个是沙箱(sandbox),一个是生产服务器(china)。
  152. 一般你注册应用,它会先让你使用sandbox,当你完成测试以后,可以到
  153. http://dev.yinxiang.com/support/上激活你的ConsumerKey,激活成功后,修改HostType
  154. 为china就好了。至于如果您申请的是国际版的印象笔记(Evernote),则其生产服务器类型为
  155. “product”。
  156. 如果目标设备上已经安装了印象笔记客户端,ShareSDK允许应用调用本地API来完成分享,但
  157. 是需要将应用信息中的“ShareByAppClient”设置为true,此字段默认值为false。
  158. 【对于iOS请看】
  159. 【对于iOS<Evernote>,<EvernoteInternational>均有效】
  160. 配置国内版印象笔记,请配置<Evernote>;配置国际版印象笔记,请配置<EvernoteInternational>
  161. 参数说明(对于iOS端,仅以下提到的参数有效):
  162. HostType:如需使用沙箱模式,请传入"sandbox";否则请传入product/china
  163. ConsumerKey:应用key
  164. ConsumerSecret:应用秘钥
  165. -->
  166. <!-- <Evernote-->
  167. <!-- Id="19"-->
  168. <!-- SortId="19"-->
  169. <!-- HostType="sandbox"-->
  170. <!-- ConsumerKey="sharesdk-7807"-->
  171. <!-- ConsumerSecret="d05bf86993836004"-->
  172. <!-- ShareByAppClient="true"-->
  173. <!-- Enable="true" />-->
  174. <!-- 仅支持iOS -->
  175. <!-- <EvernoteInternational-->
  176. <!-- HostType="sandbox"-->
  177. <!-- ConsumerKey="sharesdk-7807"-->
  178. <!-- ConsumerSecret="d05bf86993836004"-->
  179. <!-- Enable="true" />-->
  180. <!-- <LinkedIn-->
  181. <!-- Id="20"-->
  182. <!-- SortId="20"-->
  183. <!-- ApiKey="ejo5ibkye3vo"-->
  184. <!-- SecretKey="cC7B2jpxITqPLZ5M"-->
  185. <!-- RedirectUrl="http://sharesdk.cn"-->
  186. <!-- Enable="true" />-->
  187. <!-- <GooglePlus-->
  188. <!-- Id="21"-->
  189. <!-- SortId="21"-->
  190. <!-- ClientID="232554794995.apps.googleusercontent.com"-->
  191. <!-- ClientSecret="PEdFgtrMw97aCvf0joQj7EMk"-->
  192. <!-- RedirectUri="http://localhost"-->
  193. <!-- Enable="true" />-->
  194. <!-- 仅对Android平台生效 -->
  195. <!-- <FourSquare -->
  196. <!-- Id="22" -->
  197. <!-- SortId="22" -->
  198. <!-- ClientID="G0ZI20FM30SJAJTX2RIBGD05QV1NE2KVIM2SPXML2XUJNXEU" -->
  199. <!-- ClientSecret="3XHQNSMMHIFBYOLWEPONNV4DOTCDBQH0AEMVGCBG0MZ32XNU" -->
  200. <!-- RedirectUrl="http://www.sharesdk.cn" -->
  201. <!-- Enable="true" /> -->
  202. <!-- <Pinterest-->
  203. <!-- Id="23"-->
  204. <!-- SortId="23"-->
  205. <!-- ClientId="4797078908495202393"-->
  206. <!-- Enable="true" />-->
  207. <!-- <Flickr-->
  208. <!-- Id="24"-->
  209. <!-- SortId="24"-->
  210. <!-- ApiKey="33d833ee6b6fca49943363282dd313dd"-->
  211. <!-- ApiSecret="3a2c5b42a8fbb8bb"-->
  212. <!-- RedirectUri="http://www.sharesdk.cn"-->
  213. <!-- Enable="true" />-->
  214. <!-- <Tumblr-->
  215. <!-- Id="25"-->
  216. <!-- SortId="25"-->
  217. <!-- OAuthConsumerKey="2QUXqO9fcgGdtGG1FcvML6ZunIQzAEL8xY6hIaxdJnDti2DYwM"-->
  218. <!-- SecretKey="3Rt0sPFj7u2g39mEVB3IBpOzKnM3JnTtxX2bao2JKk4VV1gtNo"-->
  219. <!-- CallbackUrl="http://sharesdk.cn"-->
  220. <!-- Enable="true" />-->
  221. <!-- <Dropbox-->
  222. <!-- Id="26"-->
  223. <!-- SortId="26"-->
  224. <!-- AppKey="i5vw2mex1zcgjcj"-->
  225. <!-- AppSecret="3i9xifsgb4omr0s"-->
  226. <!-- RedirectUri="https://www.sharesdk.cn"-->
  227. <!-- Enable="true" />-->
  228. <!-- <VKontakte-->
  229. <!-- Id="27"-->
  230. <!-- SortId="27"-->
  231. <!-- ApplicationId="5312801"-->
  232. <!-- SecretKey="ZHG2wGymmNUCRLG2r6CY"-->
  233. <!-- AuthType="both"-->
  234. <!-- Enable="true" />-->
  235. <!-- <Instagram-->
  236. <!-- Id="28"-->
  237. <!-- SortId="28"-->
  238. <!-- ClientId="ff68e3216b4f4f989121aa1c2962d058"-->
  239. <!-- ClientSecret="1b2e82f110264869b3505c3fe34e31a1"-->
  240. <!-- RedirectUri="http://sharesdk.cn"-->
  241. <!-- Enable="true" />-->
  242. <!--
  243. 使用易信系列平台:
  244. 【对于iOS请看】
  245. BypassApproval:该字段仅在安卓生效,请忽略。
  246. Yixin,YixinMoments,YixinFav分别代表易信好友,易信朋友圈和易信收藏。
  247. 在使用分享菜单分享时他们是一一对应出现在菜单中的。如需去掉其中一个平台,将下列对应的注释掉即可。
  248. 【对于Android请看】
  249. Yixin易信和YixinMoments易信朋友圈的appid是一样的;
  250. 注意:开发者不能用我们这两个平台的appid,否则分享不了
  251. 易信测试的时候需要先签名打包出apk,
  252. sample测试易信,要先签名打包,keystore在sample项目中,密码123456
  253. BypassApproval是绕过审核的标记,设置为true后AppId将被忽略,故不经过
  254. 审核的应用也可以执行分享,但是仅限于分享文字或图片,不能分享其他类型,
  255. 默认值为false。
  256. -->
  257. <!-- <Yixin-->
  258. <!-- Id="29"-->
  259. <!-- SortId="29"-->
  260. <!-- AppId="yx0d9a9f9088ea44d78680f3274da1765f"-->
  261. <!-- AppSecret="1a5bd421ae089c3"-->
  262. <!-- RedirectUri="https://open.yixin.im/resource/oauth2_callback.html"-->
  263. <!-- AuthType="both"-->
  264. <!-- BypassApproval="true"-->
  265. <!-- Enable="true" />-->
  266. <!-- <YixinMoments-->
  267. <!-- Id="30"-->
  268. <!-- SortId="30"-->
  269. <!-- AppId="yx0d9a9f9088ea44d78680f3274da1765f"-->
  270. <!-- AppSecret="1a5bd421ae089c3"-->
  271. <!-- RedirectUri="https://open.yixin.im/resource/oauth2_callback.html"-->
  272. <!-- AuthType="both"-->
  273. <!-- BypassApproval="true"-->
  274. <!-- Enable="true" />-->
  275. <!-- 仅支持iOS -->
  276. <!-- <YixinFav-->
  277. <!-- AppId="yx0d9a9f9088ea44d78680f3274da1765f"-->
  278. <!-- AppSecret="1a5bd421ae089c3"-->
  279. <!-- RedirectUri="https://open.yixin.im/resource/oauth2_callback.html"-->
  280. <!-- AuthType="both"-->
  281. <!-- Enable="true" />-->
  282. <!-- <Mingdao-->
  283. <!-- Id="31"-->
  284. <!-- SortId="31"-->
  285. <!-- AppKey="EEEE9578D1D431D3215D8C21BF5357E3"-->
  286. <!-- AppSecret="5EDE59F37B3EFA8F65EEFB9976A4E933"-->
  287. <!-- RedirectUri="http://sharesdk.cn"-->
  288. <!-- Enable="true" />-->
  289. <!-- <Line-->
  290. <!-- Id="32"-->
  291. <!-- SortId="32"-->
  292. <!-- Enable="true" />-->
  293. <!-- <KakaoTalk-->
  294. <!-- Id="33"-->
  295. <!-- SortId="33"-->
  296. <!-- AppKey="54185fbcf1accf10d91a6d13f493167a"-->
  297. <!-- RestApiKey="871c987e2f5b15026a3c2886f7bb0164"-->
  298. <!-- RedirectUri="http://mob.com/oauth"-->
  299. <!-- AuthType="both"-->
  300. <!-- Enable="true" />-->
  301. <!-- <KakaoStory-->
  302. <!-- Id="34"-->
  303. <!-- SortId="34"-->
  304. <!-- AppKey="54185fbcf1accf10d91a6d13f493167a"-->
  305. <!-- RestApiKey="871c987e2f5b15026a3c2886f7bb0164"-->
  306. <!-- RedirectUri="http://mob.com/oauth"-->
  307. <!-- AuthType="both"-->
  308. <!-- Enable="true" />-->
  309. <!-- <WhatsApp-->
  310. <!-- Id="35"-->
  311. <!-- SortId="35"-->
  312. <!-- Enable="true" />-->
  313. <!-- 仅对Android平台生效 -->
  314. <!-- <Bluetooth -->
  315. <!-- Id="36" -->
  316. <!-- SortId="36" -->
  317. <!-- Enable="true" /> -->
  318. <!-- 仅支持iOS -->
  319. <!-- <Print-->
  320. <!-- Enable="true"/> -->
  321. <!-- 仅支持iOS -->
  322. <!-- <Copy-->
  323. <!-- Enable="true"/>-->
  324. <!-- <Pocket-->
  325. <!-- Id="37"-->
  326. <!-- SortId="37"-->
  327. <!-- ConsumerKey="11496-de7c8c5eb25b2c9fcdc2b627"-->
  328. <!-- RedirectUri="pocketapp1234"-->
  329. <!-- AuthType="both"-->
  330. <!-- Enable="true" />-->
  331. <!-- <Instapaper-->
  332. <!-- Id="38"-->
  333. <!-- SortId="38"-->
  334. <!-- ConsumerKey="4rDJORmcOcSAZL1YpqGHRI605xUvrLbOhkJ07yO0wWrYrc61FA"-->
  335. <!-- ConsumerSecret="GNr1GespOQbrm8nvd7rlUsyRQsIo3boIbMguAl9gfpdL0aKZWe"-->
  336. <!-- Enable="true" />-->
  337. <!-- <FacebookMessenger-->
  338. <!-- Id="39"-->
  339. <!-- SortId="39"-->
  340. <!-- AppId="107704292745179"-->
  341. <!-- Enable="true" />-->
  342. <!-- <Alipay-->
  343. <!-- Id="52"-->
  344. <!-- SortId="52"-->
  345. <!-- AppId="2015072400185895"-->
  346. <!-- Enable="true"/>-->
  347. </DevInfor>