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< ...
随机推荐
- sae crop 文档
原文是google缓存:http://webcache.googleusercontent.com/search?q=cache:MD_FP-G6RI8J:sae.sina.com.cn/%3Fm%3 ...
- [FindBugs分析记录]Class defines clone() but doesn't implement Cloneable
官网解释: This class defines a clone() method but the class doesn't implement Cloneable. There are some ...
- excel设置单元格不可编辑
把允许编辑的单元格选定,右键-设置单元格格式-保护,把锁定前的对钩去掉.再点工具-保护工作表.这样就可以只让你刚才设定的单元格允许编辑,其他不允许.
- php while循环 指定显示内容 例如不想显示前10条和后10条
<?php //查询信息总的条数 $db_num = query_num("表","where 1=1"); //每页显示的条数 $page_size=2 ...
- python运维开发之第三天
一.第二天课程的复习总结 1.列表可以增删改查,元组是不可修改的列表,字符串是不可以修改的. 2.列表,元组是有序的,字典是无序的,字典的key唯一 3.列表字典可以嵌套列表,可以嵌套字典,可以嵌套多 ...
- Symmetry(对称轴存在问题)
Symmetry Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu Description Th ...
- Scut:参数导入方式(有遗留疑问)
先上一段代码: public EnvironmentSetting() { var appServer = GetServerSection(); var protocol = GetProtocol ...
- Nginx 基本配置和日志分析
最近在维护的一个项目,路由转发规则都统一通过Nginx转发,所以再次参考部分博文和书本,熟悉Nginx的基本配置,还有一个重点也是日志的分析 Nginx 常用模块是server块,location块. ...
- 转:如何创建.htaccess文件
方法1.开始-运行-键入cmd,打开cmd窗口 此时的cmd窗口路径是C:\Documents and Settings\username> 键入以下(不包括括号内信息): copy con . ...
- 【Oracle】安装
http://www.2cto.com/database/201208/150620.html 呵呵,花了一个多小时,左右把11g安装折腾好了.其中折腾SQL Developer 花了好长时间,总算搞 ...