登录
首页 » Android » 新浪微博分享,腾讯微博分享

新浪微博分享,腾讯微博分享

于 2022-05-05 发布 文件大小:2.06 MB
0 129
下载积分: 2 下载次数: 1

代码说明:

WeiboSDKDemo使用方法 请先熟悉官方文档,虽然其中有一些问题:) 根据文档申请开放平台帐号,特别注意回调地址,这个经常出现错误; 运行Demo前,先确定下载完Demo的所有文件; 然后修改开放平台的AppKey和AppSecret: 新浪微博需要在Constants类中把appkey、appsecret修改成自己应用对应的appkey和appsecret,回调地址不需要修改; 腾讯微博需要修改配置文件,目标文件config.properties在Android_SDK.jar包config文件夹下(我已经改名为TencentWeiboSDK.jar),把appkey、appsecret修改成自己应用对应的appkey和appsecret,这里再次提醒注意回调地址要和网上你填写的一致,别管文档怎么说. 修改完后,clean工程,运行测试吧!下面是我自己的一点总结,如果你有好的建议,请分享下吧~ 新浪微博平台: SSO一直没有测试成功,运行官方DEMO也如此,没有找到解决方法,已经确认是新浪的问题,没有开放大量注册,官方建议先使用老版本SDK ;今天发现新浪更新了文档和jar包,SSO可以正常使用,返回Token、uid、userName等信息; 网页授权得到的是授权Code,不是Token,所以还需要根据Code去获取Token,调用自定义的getTokenByCode 方法;最新jar包可以直接获取到Token; 目前网页授权、微博分享都操作已经整合到工程中,测

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • SplashActivity
    简介高效安卓功能开发:自动更新提醒 简介高效安卓功能开发:自动更新提醒(Simple and efficient development of Android features: automatic update reminders)
    2015-12-05 16:33:18下载
    积分:1
  • Android
    android应用开发详解,包含详细的各大组件使用方法,并带有各个章节的源码。(android application development Elaborates and the source)
    2013-06-25 11:25:23下载
    积分:1
  • 仿驾考一点通源码,亲测可以运行使用
    仿驾考一点通源码,亲测可以运行使用,仅供学习参考
    2022-02-09 20:27:58下载
    积分:1
  • android点菜系统
    android 开发的点菜系统APP 适合学生毕业设计参考
    2022-01-31 10:19:25下载
    积分:1
  • android 百度地图搜索自定义周边 例子源码下载
    android 百度地图搜索自定义周边 例子源码下载
    2015-05-12下载
    积分:1
  • AndroidSMSFilter
    Android平台的短信过滤器,用广播实现,按照来电号码的前缀匹配是否需要过滤。做了前后台切换,用了ListActivity。(SMS filter for Android platform with broadcast, according to the Caller ID prefix match the need for filtering. Do Taiwan before and after the switch, with the ListActivity.)
    2013-03-06 20:19:05下载
    积分:1
  • 3D打印机固件Repetier-Firmware
    应用背景#define NUM_EXTRUDER 1 #define MOTHERBOARD 33 #include "pins.h" // ################## EDIT THESE SETTINGS MANUALLY ################ // ################ END MANUAL SETTINGS ########################## #define FAN_BOARD_PIN -1 //#define EXTERNALSERIAL  use Arduino serial library instead of build in. Requires more ram, has only 63 byte input buffer. // Uncomment the following line if you are using arduino compatible firmware made for Arduino version earlier then 1.0 // If it is incompatible you will get compiler errors about write functions not beeing compatible! //#define COMPAT_PRE1 #define BLUETOOTH_SERIAL  -1 #define BLUETOOTH_BAUD  115200 #define MIXING_EXTRUDER 0 #define DRIVE_SYSTEM 0 #define XAXIS_STEPS_PER_MM 80 #define YAXIS_STEPS_PER_MM 80 #define ZAXIS_STEPS_PER_MM
    2022-06-20 21:55:21下载
    积分:1
  • androidupload
    基于Java源码的Android上传文件小模块,运行于Android客户端,用户通过嵌入程序内的上传程序,实现文件上传,学会了本代码,不但可上传限制格式的文件,还可上传指定格式的图片、文件等,android upload程序源代码,与大家分享。(Java source code of the Android-based upload files small module, which runs on Android client, users by embedding within the program upload program, file upload, learn the code, not only upload limit format, specify the format can upload pictures, files, android upload source code, to share with you.)
    2013-07-31 09:11:59下载
    积分:1
  • wifi语音对讲
    实现局域网内语音对讲发送文字
    2013-06-29下载
    积分:1
  • android 图片浏览器 源码下载
    android 图片浏览器 源码下载
    2015-01-08下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载