Multiple markers at this line - Syntax error on token ",", ; expected
<pre><code>@Override
public void onActivityResult((int requestCode,int resultCode,Intent data))
{
    super.onActivityResult(requestCode, resultCode, data);
    fb.authorizeCallback(requestCode, resultCode, data);
}
</code></pre>

<p>I actually took the above code from net and placed but am getting error like this:</p>

<p>Multiple markers at this line:</p>

<ul>
<li>Syntax error on token ",", ; expected</li>
<li>Syntax error on token ",", ; expected</li>
<li>Syntax error on token(s), misplaced construct(s)</li>
<li>void is an invalid type for the variable onActivityResult</li>
<li>Syntax error, insert ";" to complete LocalVariableDeclarationStatement</li>
<li>Syntax error, insert ";" to complete LocalVariableDeclarationStatement</li>
</ul>
