在ios中使用sharekit的Twitter集成问题? [英] Twitter Integration issue using sharekit in ios?

查看:214
本文介绍了在ios中使用sharekit的Twitter集成问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用sharekit sdk进行Twitter分享它工作正常之前突然两天它显示出访问Twitter时出现问题这样的问题可以让任何人知道找出解决方案

Am using sharekit sdk for twitter sharing it is working fine before suddenly from two days it was showing problem like "There was a problem to accessing Twitter" can any one have a idea to find out solution

推荐答案

Twitter最近加强了对OAuth的限制。从讨论( https://dev.twitter.com/discussions/16443 ):

Twitter recently tightened restrictions on OAuth. From the discussion (https://dev.twitter.com/discussions/16443):


  • 您必须将oauth_callback值传递给oauth / request_token。这不是可选的。即使你已经在dev.twitter.com上设置了一个。如果您正在使用带外OAuth,请传递oauth_callback = oob。

  • 您必须传递从执行的回调中收到的oauth_verifier或您最终用户手动输入的oauth_verifier to oauth / access_token。

长话短说:你必须从主分支更新ShareKit,或者至少拉下这个提交: https://github.com/ShareKit/ShareKit/pull/692

Long story short: You must update ShareKit from the master branch, or at least pull this commit: https://github.com/ShareKit/ShareKit/pull/692

这篇关于在ios中使用sharekit的Twitter集成问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆