Comments (5)
抱歉,我现在身边没有Android手机,抽空了会再看看。
你可以扫描一下zxlie/WeixinApi首页上的二维码,在线体验一下,看demo中的回调是否能被触发。
如果确实不行,应该本身就存在问题的。当然,你也可以拿一个微信官方页面上的源代码来分析一下,应该是一致的。
这个WeixinApi其实也是源自官方源码的整理。
原始邮件
发件人:[email protected]
收件人:zxlie/[email protected]
发送时间:2014年5月14日(周三) 11:17
主题:[WeixinApi] Android下的分享朋友圈回调无法解决? (#1)
Android下的分享朋友圈回调不会触发的问题,无法解决吗?
—
Reply to this email directly or view it on GitHub.
from weixinapi.
你好,我发现WeixinJSBridge WeixinJSBridge.invoke('sendAppMessage', {数据对象}, function (resp) {})这个方法调用时都没有发送到朋友圈,但已经执行回调了,是什么问题?其中appid为空,是不是那个引起的呢
from weixinapi.
你是直接调用这个API的么?如果是,貌似真不行的,另外,appid是可以为空的,非必选。
from weixinapi.
分享到朋友圈的时候,已经调用了// 分享成功
confirm : function(resp) {
},
然后取消回来的时候调用 all()
// 整个分享过程结束
all : function(resp) {
document.getElementById('pengyouquan-bg').style.display='';
}
为什么不是cancel()?
from weixinapi.
@benbenye Android上的微信取消分享,是客户端的Bug,js api层面无法避开:http://www.baidufe.com/item/4bdcde11a024c63df3af.html
from weixinapi.
Related Issues (20)
- 微信6.0.2解决方案汇总! HOT 8
- 可以增加一个分享前的事件,用来阻止用户分享 HOT 6
- 打开扫描器失败,是微信的问题还是代码的问题,怎么解决呢 HOT 1
- IOS下收藏报错 HOT 1
- 完全不进入ready.... HOT 2
- 微信开放了JS-SDK,那WeixinApi以后还需要吗? HOT 5
- 最新的版本遇到问题求助 HOT 1
- 配置文件的填写 HOT 3
- ios6.0.2 没有执行ready方法!
- 微信浏览器如何播放视频?
- ios 6.0.2 无法自定义 安卓的可以 HOT 1
- 怎样让微信用户关注微信公众账号 HOT 1
- 【微信 6.1】发送给朋友 和 分享到朋友圈 没有响应了 HOT 21
- 分享内容及标题如果是动态的话处理很不方便
- IOS8.0中无法使用 HOT 12
- 接口被更新了? HOT 5
- 请问如何实现让手机通过外部浏览器点击链接使手机自动打开微信并跳转到相应账号信息界面 HOT 1
- 怎么在微信的浏览器里面打开其他应用?我看到跳应用宝的方式。 HOT 3
- 有点问题 HOT 1
- 今日头条跳转到微信
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weixinapi.