63.友盟分享的那些坑
1.新浪分享的授权失败,redirect_url与应用注册的网址不一致
![](https://images2015.cnblogs.com/blog/798130/201512/798130-20151222174419312-1652582393.png)
原因:授权回调页未填写
![](https://images2015.cnblogs.com/blog/798130/201512/798130-20151222174419702-1158543263.png)
![](https://images2015.cnblogs.com/blog/798130/201512/798130-20151222174419702-1158543263.png)
解决方案:
设置位置:http://open.weibo.com/apps/
选择应用信息--基本信息
选择应用信息--基本信息
![](https://images2015.cnblogs.com/blog/798130/201512/798130-20151222174421374-2105383346.jpg)
将安全域名填写为sns.whalecloud.com
注意填写之后需要二次审核(审核时间1个工作日),审核通过之后生效。
将授权回调页填写为:http://sns.whalecloud.com/sina2/callback
![](https://images2015.cnblogs.com/blog/798130/201512/798130-20151222174423156-508471558.jpg)
2.友盟的httpmine.jar与fastjson.jar冲突!
![](https://images2015.cnblogs.com/blog/798130/201512/798130-20151222174423624-1613476565.png)
原因:不明
解决方案:
添加红色所示部分即可
![](https://images2015.cnblogs.com/blog/798130/201512/798130-20151222174424281-1523447484.png)