please suggest what i'll do..actually i'm using facebook java api and i'm getting some xml response with error code 100
**my code is :**
此期間獲得異常的我的項目的一些代碼的一部分,請考慮這一點,並告訴在那裏我得到這個問題......在此我登錄的部分是確定和獲取後狀態200是確定當我試圖獲得的SessionID提示錯誤代碼100或無效的參數...越來越會話
PostMethod post = new PostMethod("/login.php?login_attempt=1");
post.addParameter("api_key", API_KEY);
post.addParameter("v", "1.0");
post.addParameter("auth_token", token);
post.addParameter("email",user_Name);
post.addParameter("pass",password);
int postStatus=0;
try{
postStatus = http.executeMethod(post);
}
catch(Exception e)
{
logger.info(" Exception Occur Here: "+e);
}
logger.info("LOGIN - Http status returned when executing POST: "+postStatus);
if(postStatus >=200){login=true;}
String sessionId="";
try{
sessionId = client.auth_getSession(token);
if(sessionId!=null)
{
login=true;
}
logger.info("Session key is " + sessionId+"---MSISDN---"+msisdn);
}
catch(Exception e)
{
logger.fatal(e); ***// here i'm getting exception***
}
**and getting response is :**
<error_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://api.facebook.com/1.0/ http://api.facebook.com/1.0/facebook.xsd">
<error_code>100</error_code>
<error_msg>Invalid parameter</error_msg>
<request_args list="true">
<arg>
<key>api_key</key>
<value>xxxxxxxxxxxxxxxxxxxxxxx</value>
</arg>
<arg>
<key>auth_token</key>
<value>yyyyyyyyyyyyyyyyyyyyyyyy</value>
</arg>
<arg>
<key>call_id</key>
<value>1322582630845</value>
</arg>
<arg>
<key>format</key>
<value>xml</value>
</arg>
<arg>
<key>method</key>
<value>facebook.auth.getSession</value>
</arg>
<arg>
<key>sig</key>
<value>zzzzzzzzzzzzzzzzzzzz</value>
</arg>
<arg>
<key>v</key>
<value>1.0</value>
</arg>
</request_args>
</error_response>
[email protected]:33:57,0902 INFO FacebookLogin:203 - Second Exception Occur Here: com.google.code.facebookapi.FacebookException: Invalid parameter
[email protected]:33:57,0903 FATAL FacebookLogin:204 - com.google.code.facebookapi.FacebookException: Invalid parameter
**PLeaser solve my problem **