Home > front end >  H5 integration QQ share, share, appear to load
H5 integration QQ share, share, appear to load

Time:09-29

I set up a QQ share content on the page, as follows, but will share to the page after QQ friends, in the description section shows "loading... ", to be able to determine the describe can take to the value, and this problem is incidental, what reason?
SetShareInfo ({
Title: the title,
Summary: the describe,
PIC: still,
Url: the location href,
WXconfig: {
SwapTitleInWX: true,
AppId: 'XXXXXX',
Timestamp: timestamp,
NonceStr: nonceStr,
Signature: signature
}
});

CodePudding user response:

http://wiki.open.qq.com/wiki/%E5%88%86%E4%BA%AB%E6%B6%88%E6%81%AF%E5%88%B0QQ%EF%BC%88%E5%AE%9A%E5%90%91%E5%88%86%E4%BA%AB%EF%BC%89
http://blog.csdn.net/lowkeyway/article/details/7963603
http://pan.codedq.net/details/89589.html
The documentation on the QQ open platform!

CodePudding user response:

Thank you upstairs! I developed the h5 page, can use its components directly http://open.mobile.qq.com/api/component/share

CodePudding user response:

The original poster hello, I saw the http://open.mobile.qq.com/api/component/share, could you tell me what information need to register, I know, if need to share in the WeChat requires registration number WeChat public and verification, so need to share what do need to register in the QQ, online, etc.

CodePudding user response:

Top post

CodePudding user response:

QQ share need not register what things, if use WeChat share, only need appkey and other registration information

CodePudding user response:

WXconfig the method how to do?

CodePudding user response:

Call this method, as an attribute
SetShareInfo ({
Title: '
Summary: "'
PIC: "'
Url: "'
WXconfig: {
SwapTitleInWX: true,
AppId: "'
Timestamp: timestamp,
NonceStr: nonceStr,
Signature: signature
}
});

CodePudding user response:

This is can realize qq to share? I fly, small white, big and hip, and need to add a click event? Click the share transfer to qq!

CodePudding user response:

The building Lord, can you tell me why I'm using this method, which has not been successful? Custom share hasn't been effect,