Facebook的状态没有更新。错误403,身份验证错误,SocialAuthException在Android中 [英] Facebook status not updated. Error 403, authentication error, SocialAuthException in Android

查看:271
本文介绍了Facebook的状态没有更新。错误403,身份验证错误,SocialAuthException在Android中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个Android应用程序,在与Facebook的授权是做精,但是当我轻点更新状态按钮,它显示异常。它返回的状态code 403。

code是:

 如果(providerName.equalsIgnoreCase(脸谱)
        {
            尝试
            {
                adapter.updateStory(
                        你好SocialAuth Android的+ System.currentTimeMillis的()
                        AAA,
                        BBB,
                        CCC,
                        滴滴滴,EEE
                        新消息监听());
            }
            赶上(UnsupportedEncodingException E)
            {
                e.printStackTrace();
            }
        }
 

解决方案

翻翻SocialAuth维基我发现了一个错误的电流匹配你的描述:

https://开头code。 google.com/p/socialauth-android/issues/detail?id=175

所以,你并不孤单与你的问题。你可以提供问题跟踪任何更多的信息,以帮助,并说明了问题的严重性。

但除此之外我怕你只需要等待 - 或者考虑修复该错误在你自己的,否则开源库


您也可以检查是否原始的Java实现或.net口遇到了同样的问题;如果不从这些库中的code可能有助于找到一个解决方案。

I have created an Android application, in that the authorization with Facebook is done fine, but when I tap on the update status button it shows exception. It returns status code 403.

Code is:

if (providerName.equalsIgnoreCase("facebook") 
        {
            try 
            {
                adapter.updateStory(
                        "Hello SocialAuth Android" + System.currentTimeMillis(),
                        "AAA",
                        "BBB",
                        "CCC.",
                        "DDD", "EEE",
                        new MessageListener());
            }
            catch (UnsupportedEncodingException e) 
            {               
                e.printStackTrace();
            }
        }

解决方案

Looking through the SocialAuth Wiki I found a current bug matching your description:

https://code.google.com/p/socialauth-android/issues/detail?id=175

So you're not alone with your problem. You could provide any more information in their issue tracker to help and to indicate the severity of the problem.

But besides that I'm afraid you'll just have to wait - or consider fixing the bug in the otherwise open source library on your own.


You could also check whether the original Java implementation or the .Net port are experiencing the same problem; if not the code from those libraries might help to find a solution.

这篇关于Facebook的状态没有更新。错误403,身份验证错误,SocialAuthException在Android中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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