Comments (7)
邀请的好友UID可是互粉好友?
from weibo_ios_sdk.
UID 是从 friendships/friends/bilateral 接口得到的,所以是互粉好友
from weibo_ios_sdk.
用API接口 https://m.api.weibo.com/2/messages/invite.json 也是一样
返回的JSON:
{"error":"access_denied","error_code":21330,"request":"/2/messages/invite.json"
这个 error code 有没有更详细的解释?
from weibo_ios_sdk.
Scope 权限开了吗 用户授权了这个scope吗
------------------ 原始邮件 ------------------
发件人: "modastic";
发送时间: 2013年11月30日(星期六) 凌晨0:07
收件人: "sinaweibosdk/weibo_ios_sdk";
抄送: "洪涛";
主题: Re: [weibo_ios_sdk] 调用 Invite Friend 时返回 "access denied", 查过token是有效的,而且之前也可以正常邀请 (#1)
用API接口 https://m.api.weibo.com/2/messages/invite.json 也是一样
返回的JSON:
{"error":"access_denied","error_code":21330,"request":"/2/messages/invite.json"
这个 error code 有没有更详细的解释?
—
Reply to this email directly or view it on GitHub.
from weibo_ios_sdk.
OAuth 授权时 scope 是 "all"
request.scope = @"all";
这个应该包括邀请的scope?
from weibo_ios_sdk.
1、申请好友邀请接口使用权限
此接口采用严格的申请接入流程。应用可邮件 [email protected] 申请,需要详细描述您应用或游戏的功能或服务,我们评估后确定是否为您开通。
2、使用微博登录
应用引导用户使用微博登录,采用OAuth2的Scope授权方式获得用户“发送私信邀请给你的微博好友”权限。
3、获取互粉好友
应用调用friendships/friends/bilateral接口,获取当前用户微博互粉好友列表,友好地引导、鼓励用户邀请好友加入应用或向好友送礼物等。
4、发送邀请
应用引导用户向好友发送使用邀请或送礼物,由用户主动发起向好友发送邀请,应用调用messages/invite接口实现向指定好友发送邀请。
from weibo_ios_sdk.
应该是没有发邮件申请吧?
from weibo_ios_sdk.
Related Issues (20)
- iPad无法进行应用内网页登录。("用户名或密码错误") HOT 1
- 最新版的SDK还依赖WeiboSDK.bundle吗 HOT 1
- APP首次安装未同意隐私协议之前微博SDK进下读写SD卡操作 HOT 1
- 超话分享提示系统繁忙200404
- 编译警告
- 工程里面有UISceneDelegate,微博授权返回不回调响应方法
- iPad上使用QR码登录时,会在OAuth 2.0界面上停止。
- v3.3.4, xcode15 登录授权接收不到回调
- 3.3.6版本更新后初始化崩溃 HOT 1
- 在Swift框架中添加微博iOS SDK会触发“Include of non-modular header inside framework module”错误。
- 请求SDK支持xcframework产物 HOT 1
- Support App Privacy Manifest
- place/users/photos
- 麻烦在cocoapods里更新3.3.8版本~感谢 HOT 1
- podspec 资源中没有添加隐私清单。 HOT 3
- source paramter(appkey) is missing HOT 1
- PrivacyInfo.xcprivacy配置方式错误 HOT 2
- 微博开放平台回调url更改问题
- 使用的3.2.7版本sdk,拉起微博客户端授权页后又立马回到了我的app,这是怎么回事
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 weibo_ios_sdk.