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
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Twitter recently tightened restrictions on OAuth. From the discussion (https://dev.twitter.com/discussions/16443):
- You must pass an oauth_callback value to oauth/request_token. It's not optional. Even if you have one already set on dev.twitter.com. If you're doing out of band OAuth, pass oauth_callback=oob.
- You must pass along the oauth_verifier you either received from your executed callback or that you received hand-typed by your end user to oauth/access_token.
Long story short: You must update ShareKit from the master branch, or at least pull this commit: https://github.com/ShareKit/ShareKit/pull/692
回答2:
Maybe this link could help. Try it! http://jayrparro.com/blog/2011/05/24/incorrect-signature-sharekit-twitter-error/