Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iVanPan authored Dec 14, 2016
1 parent 83ff3b7 commit 710b01e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ A React Native wrapper around the Tencent QQ SDK for Android and iOS. Provides a
- [shareImage](#shareimage)
- [shareNews](#sharenews)
- [shareAudio](#shareaudio)
- [getUserInfo](#getuserinfo)



Expand Down Expand Up @@ -220,8 +221,11 @@ QQ.shareAudio(audioPreviewUrl,audioUrl,imgUrl,QQ.imageType.Network,'十年','陈
.catch((error)=>{console.log('error is', error)});

```


#####getUserInfo
```js
var url = "https://graph.qq.com/user/get_user_info?access_token=" + accessToken + "&oauth_consumer_key= APPID &openid=" + userId;
http.get(url)
```



Expand Down

0 comments on commit 710b01e

Please sign in to comment.