带参数的二维码对于渠道营销推广来说是很有用的,可以获得多个带不同场景值的二维码,用户扫描后,公众号可以接收到事件推送,可喜的是微信开通了这个接口,那下面就来研究一下吧。具体接口说明请参见,微信公众平台开发者文档(http://mp.weixin.qq.com/wiki/18/28fc21e7ed87...
分类:
微信 时间:
2015-03-30 18:04:55
阅读次数:
339
public static String getIp(String accessToken){
String result = null;
String requestUrl = "https://api.weixin.qq.com/cgi-bin/getcallbackip?access_token=ACCESS_TOKEN";
requestUrl = requestUrl.rep...
分类:
微信 时间:
2015-03-30 14:42:54
阅读次数:
623
public static String getUserOpenId(String accessToken){
String result = null;
String requestUrl ="https://api.weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN";
requestUrl = requestUrl.r...
分类:
微信 时间:
2015-03-30 14:42:43
阅读次数:
881
首先先获取access_token,并保存与全局之中
def token(requset):
url = 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s' % (
Config.AppID, Config.AppSecret)
result =...
分类:
微信 时间:
2015-03-18 18:05:39
阅读次数:
260
1.公众平台开发接口介绍http://mp.weixin.qq.com/wiki/home/index.html2.PHP微支付接口开发 demohttp://download.csdn.net/detail/ytawu/74885173.怎么申请微信支付接口http://jingyan.baidu...
分类:
微信 时间:
2015-03-18 13:50:00
阅读次数:
220
BOOL weicaht = [[UIApplicationsharedApplication]
canOpenURL:[NSURLURLWithString:@"mqqapi://"]];
BOOL qq = [[UIApplicationsharedApplication]
canOpenURL:[NSURLURLWithString:@"weixin://"]];...
分类:
微信 时间:
2015-03-18 12:29:30
阅读次数:
374
处理微信发来的信息,实际上就是出来xml的过程,先写xml工具类
# -*- coding:utf-8 -*-
from xml.dom import minidom
from Web.model.WeiXin import *
def get_attrvalue(node, attrname):
return node.getAttribute(attrname) if node...
分类:
微信 时间:
2015-03-17 17:56:25
阅读次数:
273
// string url = "https://api.weixin.qq.com/cgi-bin/media/get?access_token=cNaaMfvhpb1vmcVRXRAdIjRX3eUFsk1sRVrbOaPkR-8Gbli4xJE22sI9uLaf3q_aCIesyUtZ7KC4...
分类:
Web程序 时间:
2015-03-17 11:54:32
阅读次数:
152
一、Android第三方应用接入微信开放平台的注意事项:1. 到微信开放平台官网申请正式的AppID(需通过审核),要填写包名、app签名的md5值。至于如何获取app签名信息,官方提供签名包apk(http://open.weixin.qq.com/download/sdk/gen_signatu...
分类:
微信 时间:
2015-03-13 20:38:11
阅读次数:
394
本文将介绍微信公众号开发中用于群发消息的类MassMessage,包括:(1)MassMessage类;(2)群发;(3)删除;(4)预览;(5)查询发送状态;(6)接收推送群发结果事件。
源代码地址:http://git.oschina.net/xrwang2/xrwang.weixin.PublicAccount/tree/master/PublicAccount/MassMessage
演示地址:http://www.xrwang.net/Example/MassMessage.aspx...
分类:
微信 时间:
2015-03-13 11:00:34
阅读次数:
542