ShareSDK.xml 配置
简要说明
<ShareSDK AppKey="1089fa233237e" /> <!-- 修改成你在sharesdk后台注册的应用的appkey" -->
<SinaWeibo
AppKey="填写您在新浪微博上注册到的AppKey"AppSecret="填写您在新浪微博上注册到的AppSecret"Enable="布尔值,标记此平台是否有效,默认为true"Id="自定义字段,整型,用于您项目中对此平台的识别符"RedirectUrl="填写您在新浪微博上注册的RedirectUrl"ShareByAppClient="是否使用客户端进行分享,默认为false"SortId="此平台在您分享列表中的位置,整型,数值越大越靠后" />
95秀的配置
<?xml version="1.0" encoding="utf-8"?>
<DevInfor><ShareSDKAppKey = "c32d3b931e4"/> <!-- AppKey="104972cdd48" "23a9371d3a8"--><SinaWeiboId="1"SortId="1"AppKey="353669563"AppSecret="b75be105e5ed783ba124c8d58eb6e8e5"RedirectUrl="http://www.95you.com"Enable="true" /><TencentWeiboId="2"SortId="2"AppKey="801307650"AppSecret="ae36f4ee3946e1cbb98d6965b0b2ff5c"RedirectUri="http://sharesdk.cn"ShortLinkConversationEnable="true"Enable="false" /><QZoneId="3"SortId="3"AppId="100551517"AppKey="7ce2541ef6721220abde557098b45b3e"ShortLinkConversationEnable="true"Enable="true" /><WechatMomentsAppId="wxa7f66147a3c3a826"Enable="true"Id="4"SortId="4" />Id="5"SortId="5"AppId="wxa7f66147a3c3a826"AppSecret="f33b68c7fb8e443995703806cb8afd73"Enable="true" /></DevInfor>
官方默认配置
<?xml version="1.0" encoding="utf-8"?>
<DevInfor><!--说明:1、表格中的第一项是必须的,其中的AppKey是您在ShareSDK上注册的开发者帐号的AppKey<ShareSDKAppKey="api20" />2、所有集成到您项目的平台都应该为其在表格中填写相对应的开发者信息,以新浪微博为例:<SinaWeiboId="1"SortId="1"AppKey="568898243"AppSecret="38a4f8204cc784f81f9f0daaf31e02e3"RedirectUrl="http://www.mob.com"Enable="true" />其中的SortId是此平台在分享列表中的位置,由开发者自行定义,可以是任何整型数字,数值越大越靠后。AppKey、AppSecret和RedirectUrl是您在新浪微博上注册开发者信息和应用后得到的信息。Id是一个保留的识别符,整型,ShareSDK不使用此字段,供您在自己的项目中当作平台的识别符。Enable字段表示此平台是否有效,默认为true,如果设为false,即便平台的jar包已经添加到应用中,平台实例依然不可获取。3、各个平台注册应用信息的地址如下:腾讯微博 http://dev.t.qq.comFacebook https://developers.facebook.comTwitter https://dev.twitter.comLinkedin https://developer.linkedin.comFourSquare https://developer.foursquare.com/搜狐随身看 https://open.sohu.com/Pinterest http://developers.pinterest.com/Instagram http://instagram.com/developer#VKontakte http://vk.com/dev--><ShareSDK AppKey="1089fa233237e" /> <!-- 修改成你在sharesdk后台注册的应用的appkey" --><!-- ShareByAppClient标识是否使用微博客户端分享,默认是false --><SinaWeiboAppKey="568898243"AppSecret="38a4f8204cc784f81f9f0daaf31e02e3"Enable="true"Id="1"RedirectUrl="http://www.sharesdk.cn"ShareByAppClient="false"SortId="1" /><TencentWeiboAppKey="801307650"AppSecret="ae36f4ee3946e1cbb98d6965b0b2ff5c"Enable="true"Id="2"RedirectUri="http://sharesdk.cn"SortId="2" /><!-- ShareByAppClient标识是否使用微博客户端分享,默认是false --><QZoneAppId="100371282"AppKey="aed9b0303e3ed1e27bae87c33761161d"Enable="true"Id="3"ShareByAppClient="false"SortId="3" /><!--【Wechat微信】和【WechatMoments微信朋友圈】的appid是一样的;注意:开发者不能用我们这两个平台的appid,否则分享不了微信测试的时候,微信测试需要先签名打包出apk,sample测试微信,要先签名打包,keystore在sample项目中,密码123456BypassApproval是绕过审核的标记,设置为true后AppId将被忽略,故不经过审核的应用也可以执行分享,但是仅限于分享文字和图片,不能分享其他类型,默认值为false。此外,微信收藏不支持此字段。-->AppId="wx4868b35061f87885"AppSecret="64020361b8ec4c99936c0e3999a9f249"BypassApproval="false"Enable="true"Id="4"SortId="4" /><WechatMomentsAppId="wx4868b35061f87885"AppSecret="64020361b8ec4c99936c0e3999a9f249"BypassApproval="false"Enable="true"Id="5"SortId="5" /><WechatFavoriteAppId="wx4868b35061f87885"AppSecret="64020361b8ec4c99936c0e3999a9f249"Enable="true"Id="6"SortId="6" /><!-- ShareByAppClient标识是否使用微博客户端分享,默认是false -->AppId="100371282"AppKey="aed9b0303e3ed1e27bae87c33761161d"Enable="true"Id="7"ShareByAppClient="true"SortId="7" />ConsumerKey="107704292745179"ConsumerSecret="38053202e1a5fe26c80c753071f0b573"Enable="true"Id="8"RedirectUrl="http://mob.com"SortId="8" />CallbackUrl="http://mob.com"ConsumerKey="LRBM0H75rWrU9gNHvlEAA2aOy"ConsumerSecret="gbeWsZvA9ELJSdoBzJ5oLKX0TU09UOwrzdGfo9Tg7DjyGuMe8G"Enable="true"Id="9"SortId="9" /><RenrenApiKey="fc5b8aed373c4c27a05b712acba0f8c3"AppId="226427"Enable="true"Id="10"SecretKey="f29df781abdd4f49beca5a2194676ca4"SortId="10" /><KaiXinAppKey="358443394194887cee81ff5890870c7c"AppSecret="da32179d859c016169f66d90b6db2a23"Enable="true"Id="11"RedirectUri="http://www.sharesdk.cn"SortId="11" />Enable="true"Id="12"SortId="12" /><ShortMessageEnable="true"Id="13"SortId="13" /><DoubanApiKey="031a96a3aa8b28af094fc3eaffa17a0d"Enable="true"Id="16"RedirectUri="http://mob.com"Secret="2e675e730571b75d"SortId="16" /><YouDaoConsumerKey="dcde25dca105bcc36884ed4534dab940"ConsumerSecret="d98217b4020e7f1874263795f44838fe"Enable="true"HostType="product"Id="17"RedirectUri="http://www.sharesdk.cn/"SortId="17" /><SohuSuishenkanAppKey="e16680a815134504b746c86e08a19db0"AppSecret="b8eec53707c3976efc91614dd16ef81c"Enable="true"Id="18"RedirectUri="http://sharesdk.cn"SortId="18" /><!--在中国大陆,印象笔记有两个服务器,一个是沙箱(sandbox),一个是生产服务器(china)。一般你注册应用,它会先让你使用sandbox,当你完成测试以后,可以到 http://dev.yinxiang.com/support/上激活你的ConsumerKey,激活成功后,修改HostType为china就好了。至于如果您申请的是国际版的印象笔记(Evernote),则其生产服务器类型为 “product”。如果目标设备上已经安装了印象笔记客户端,ShareSDK允许应用调用本地API来完成分享,但是需要将应用信息中的“ShareByAppClient”设置为true,此字段默认值为false。--><EvernoteConsumerKey="sharesdk-7807"ConsumerSecret="d05bf86993836004"Enable="true"HostType="sandbox"Id="19"ShareByAppClient="false"SortId="19" />ApiKey="ejo5ibkye3vo"Enable="true"Id="20"RedirectUrl="http://sharesdk.cn"SecretKey="cC7B2jpxITqPLZ5M"SortId="20" /><GooglePlusEnable="true"Id="21"SortId="21" /><FourSquareClientID="G0ZI20FM30SJAJTX2RIBGD05QV1NE2KVIM2SPXML2XUJNXEU"ClientSecret="3XHQNSMMHIFBYOLWEPONNV4DOTCDBQH0AEMVGCBG0MZ32XNU"Enable="true"Id="22"RedirectUrl="http://www.sharesdk.cn"SortId="22" />ClientId="1432928"Enable="true"Id="23"SortId="23" /><FlickrApiKey="33d833ee6b6fca49943363282dd313dd"ApiSecret="3a2c5b42a8fbb8bb"Enable="true"Id="24"RedirectUri="http://www.sharesdk.cn"SortId="24" /><TumblrCallbackUrl="http://sharesdk.cn"Enable="true"Id="25"OAuthConsumerKey="2QUXqO9fcgGdtGG1FcvML6ZunIQzAEL8xY6hIaxdJnDti2DYwM"SecretKey="3Rt0sPFj7u2g39mEVB3IBpOzKnM3JnTtxX2bao2JKk4VV1gtNo"SortId="25" /><DropboxAppKey="i5vw2mex1zcgjcj"AppSecret="3i9xifsgb4omr0s"Enable="true"Id="26"RedirectUri="https://www.sharesdk.cn"SortId="26" /><VKontakteApplicationId="3921561"Enable="true"Id="27"SortId="27" />ClientId="ff68e3216b4f4f989121aa1c2962d058"ClientSecret="1b2e82f110264869b3505c3fe34e31a1"Enable="true"Id="28"RedirectUri="http://sharesdk.cn"SortId="28" /><!--Yixin易信和YixinMoments易信朋友圈的appid是一样的;注意:开发者不能用我们这两个平台的appid,否则分享不了易信测试的时候需要先签名打包出apk,sample测试易信,要先签名打包,keystore在sample项目中,密码123456BypassApproval是绕过审核的标记,设置为true后AppId将被忽略,故不经过审核的应用也可以执行分享,但是仅限于分享文字或图片,不能分享其他类型,默认值为false。--><YixinAppId="yx0d9a9f9088ea44d78680f3274da1765f"BypassApproval="true"Enable="true"Id="29"SortId="29" /><YixinMomentsAppId="yx0d9a9f9088ea44d78680f3274da1765f"BypassApproval="true"Enable="true"Id="30"SortId="30" /><MingdaoAppKey="EEEE9578D1D431D3215D8C21BF5357E3"AppSecret="5EDE59F37B3EFA8F65EEFB9976A4E933"Enable="true"Id="31"RedirectUri="http://sharesdk.cn"SortId="31" /><LineEnable="true"Id="32"SortId="32" /><KakaoTalkAppKey="48d3f524e4a636b08d81b3ceb50f1003"Enable="true"Id="33"SortId="33" /><KakaoStoryAppKey="48d3f524e4a636b08d81b3ceb50f1003"Enable="true"Id="34"SortId="34" />Enable="true"Id="35"SortId="35" /><BluetoothEnable="false"Id="36"SortId="36" />ConsumerKey="32741-389c565043c49947ba7edf05"Enable="true"Id="37"SortId="37" /><InstapaperConsumerKey="4rDJORmcOcSAZL1YpqGHRI605xUvrLbOhkJ07yO0wWrYrc61FA"ConsumerSecret="GNr1GespOQbrm8nvd7rlUsyRQsIo3boIbMguAl9gfpdL0aKZWe"Enable="true"Id="38"SortId="38" /><FacebookMessengerConsumerKey="107704292745179"ConsumerSecret="38053202e1a5fe26c80c753071f0b573"Enable="true"Id="39"RedirectUrl="http://mob.com"SortId="39" /><AlipayAppId="2015072400185895"Enable="true"Id="52"SortId="52" /></DevInfor>
ShareSDK.xml 配置的更多相关文章
- Mybatis XML配置
Mybatis常用带有禁用缓存的XML配置 <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE ...
- SpringMvc的xml配置与annotation配置的例子的区别
1.导入jar包时,要在xml配置基础上加 spring-aop-4.2.2.RELEASE.jar (注解的时候需要) 2.编写controller的时候要annotation需要做相关配置即红色部 ...
- Hibernate实现有两种配置,xml配置与注释配置
hibernate实现有两种配置,xml配置与注释配置. (1):xml配置:hibernate.cfg.xml (放到src目录下)和实体配置类:xxx.hbm.xml(与实体为同一目录中) < ...
- java web.xml配置详解
1.启动一个WEB项目的时候,WEB容器会去读取它的配置文件web.xml,读取<listener>和<context-param>两个结点. 2.紧急着,容创建一个Servl ...
- 关于xml配置实现AOP的小知识
除了前面介绍的基于JDK1.5的注解方式来定义切面,切入点和增强处理外,Spring AOP也允许直接使用XML配置文件来管理它们.在JDK1.5之前,只能使用配置文件的方式来管理,在Spring2. ...
- Ninject之旅之五:Ninject XML配置
摘要 使用XML配置,需要添加Ninject XML扩展的引用.下一步是添加一个或多个包含类型注册的XML文件.记得这些文件应该跟应用程序一起发布.因此不要忘记将XML文件的属性设置成“Copy if ...
- hibernate实现有两种配置,xml配置与注释配置。
(1):xml配置:hibernate.cfg.xml (放到src目录下)和实体配置类:xxx.hbm.xml(与实体为同一目录中) <?xml version='1.0' encoding= ...
- 2015年12月10日 spring初级知识讲解(二)最小化Spring XML配置 注解
序,随着Spring容器管理Bean数量增加,XML文件会越来越大,而且纯手工配置XML很繁琐,Spring和JAVA都提供了一些注解方式用以简化XML配置. 目录 一.自动装配(autowiring ...
- springMVC配置(XML配置详解)
原文出自:http://www.newasp.net/tech/71609.html web.xml配置: servlet> <servlet-name>dispatcher< ...
随机推荐
- [转载] extern "C"的用法解析
本文转载自: http://www.cnblogs.com/rollenholt/archive/2012/03/20/2409046.html 1.引言 C++语言的创建初衷是“a better ...
- 初涉JavaScript模式 (12) : 沙箱模式
引子 上一篇说了模块模式,而对于其中的命名空间模式其实也是有着一些问题,比如每添加一个模块或则深入叠加都会导致长命名,并且对于多个库的不同版本同时运行,一不小心就会污染全局标识,而这两天也发现了JSe ...
- Hibernate的批量处理
Hibernate完全以面向对象的方式操作数据库,当程序员以面向对象的方式操作持久化对象时,将自动转换为对数据的操作.例如我们Session的delete()方法,来删除持久化对象,Hibernate ...
- angular-fullstack test
1:运行yo 提示我可以升级到1.4.7版本,下面进行升级 提示需要npm>=2.8.0下面进行升级npm y@y:angular-fullstack-test$ npm install npm ...
- poj Building a Space Station
http://poj.org/problem?id=2031 #include<cstdio> #include<cstring> #include<cmath> ...
- 基于单例使用ThreadLocal对多线程下数据的访问修改
package cn.lyy.thread; import java.util.Random; /** * 基于单例模式的基础上,使用ThreadLocal为每一个进入的线程生成一个实例, * 用来对 ...
- Android的5个进程等级(转)
1.foreground process 正处于activity resume状态 正处于bound服务交互的状态 正处于服务在前台运行的状态(StartForeGround( ...
- 全表扫描引发的db file sequential read
今天我要做一个SQL调优,监控该SQL, 利用ASH 监控 该SQL是在sid=4848 上面跑的 db file sequential read等待事件有3个参数:file#,first block ...
- 运行出现 Multiple dex files define Landroid/support/annotation/AnimRes 解决方法
1. 拷贝google-play-services_lib/libs/目录下的android-support-v4.jar到xxxr/libs/下 2. 工程进行如下设置:
- Jsp 中文乱码,解决
jsp 乱码 : The time on the server is 2016?2?7? ??10?45?32?. 在 jsp 中,用 jsp 语法添加 utf-8 字符集,可解决此问题 <%@ ...