extensibleclient.html
来自「A Facebook API client implemented in Jav」· HTML 代码 · 共 1,085 行 · 第 1/5 页
HTML
1,085 行
<BR> Gets the public information about the specified application, by API key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html" title="type parameter in ExtensibleClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#application_getPublicInfoByCanvasName(java.lang.String)">application_getPublicInfoByCanvasName</A></B>(java.lang.String applicationCanvas)</CODE><BR> Gets the public information about the specified application, by canvas-page name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html" title="type parameter in ExtensibleClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#application_getPublicInfoById(java.lang.Long)">application_getPublicInfoById</A></B>(java.lang.Long applicationId)</CODE><BR> Gets the public information about the specified application, by application id.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#auth_createToken()">auth_createToken</A></B>()</CODE><BR> Call this function and store the result, using it to generate the appropriate login url and then to retrieve the session information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#auth_expireSession()">auth_expireSession</A></B>()</CODE><BR> Expires the curently active session.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#auth_getSession(java.lang.String)">auth_getSession</A></B>(java.lang.String authToken)</CODE><BR> Call this function to retrieve the session information after your user has logged in.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#auth_getUserId(java.lang.String)">auth_getUserId</A></B>(java.lang.String authToken)</CODE><BR> <B>Deprecated.</B> <I>please call auth_getSession(authToken), then you can call users_getLoggedInUser(), or getCacheUserId()</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#auth_promoteSession()">auth_promoteSession</A></B>()</CODE><BR> Generate a key for the current session that can be used to authenticate client-side components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#auth_revokeAuthorization()">auth_revokeAuthorization</A></B>()</CODE><BR> If this method is called for the logged in user, then no further API calls can be made on that user's behalf until the user decides to authorize the application again.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html" title="type parameter in ExtensibleClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#batch_run(java.lang.String, boolean)">batch_run</A></B>(java.lang.String methods, boolean serial)</CODE><BR> Executes a batch of queries.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#beginBatch()">beginBatch</A></B>()</CODE><BR> Starts a batch of queries.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#beginPermissionsMode(java.lang.String)">beginPermissionsMode</A></B>(java.lang.String apiKey)</CODE><BR> Begins permissions mode, and allows the current application to begin making requests on behalf of the application associated with the specified API key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html" title="type parameter in ExtensibleClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#callMethod(com.google.code.facebookapi.IFacebookMethod, java.util.Collection)">callMethod</A></B>(<A HREF="../../../../com/google/code/facebookapi/IFacebookMethod.html" title="interface in com.google.code.facebookapi">IFacebookMethod</A> method, java.util.Collection<<A HREF="../../../../com/google/code/facebookapi/Pair.html" title="class in com.google.code.facebookapi">Pair</A><java.lang.String,java.lang.CharSequence>> paramPairs)</CODE><BR> Call the specified method, with the given parameters, and return a DOM tree with the results.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html" title="type parameter in ExtensibleClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#callMethod(com.google.code.facebookapi.IFacebookMethod, com.google.code.facebookapi.Pair...)">callMethod</A></B>(<A HREF="../../../../com/google/code/facebookapi/IFacebookMethod.html" title="interface in com.google.code.facebookapi">IFacebookMethod</A> method, <A HREF="../../../../com/google/code/facebookapi/Pair.html" title="class in com.google.code.facebookapi">Pair</A><java.lang.String,java.lang.CharSequence>... paramPairs)</CODE><BR> Call the specified method, with the given parameters, and return a DOM tree with the results.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html" title="type parameter in ExtensibleClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#data_getCookies()">data_getCookies</A></B>()</CODE><BR> Get all cookies for the currently logged-in user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html" title="type parameter in ExtensibleClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#data_getCookies(java.lang.Long)">data_getCookies</A></B>(java.lang.Long userId)</CODE><BR> Get all cookies for the specified user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html" title="type parameter in ExtensibleClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#data_getCookies(java.lang.Long, java.lang.CharSequence)">data_getCookies</A></B>(java.lang.Long userId, java.lang.CharSequence name)</CODE><BR> Get a specific cookie for the specified user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html" title="type parameter in ExtensibleClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#data_getCookies(java.lang.String)">data_getCookies</A></B>(java.lang.String name)</CODE><BR> Get a specific cookie for the currently logged-in user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#data_setCookie(java.lang.Long, java.lang.CharSequence, java.lang.CharSequence)">data_setCookie</A></B>(java.lang.Long userId, java.lang.CharSequence name, java.lang.CharSequence value)</CODE><BR> Set a cookie for the specified user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#data_setCookie(java.lang.Long, java.lang.CharSequence, java.lang.CharSequence, java.lang.CharSequence)">data_setCookie</A></B>(java.lang.Long userId, java.lang.CharSequence name, java.lang.CharSequence value, java.lang.CharSequence path)</CODE><BR> Set a cookie for the specified user, with the specified path.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#data_setCookie(java.lang.Long, java.lang.CharSequence, java.lang.CharSequence, java.lang.Long)">data_setCookie</A></B>(java.lang.Long userId, java.lang.CharSequence name, java.lang.CharSequence value, java.lang.Long expires)</CODE><BR> Set a cookie for the specified user, with the specified expiration date.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#data_setCookie(java.lang.Long, java.lang.CharSequence, java.lang.CharSequence, java.lang.Long, java.lang.CharSequence)">data_setCookie</A></B>(java.lang.Long userId, java.lang.CharSequence name, java.lang.CharSequence value, java.lang.Long expires, java.lang.CharSequence path)</CODE><BR> Set a cookie for the specified user, with the specified expiration date and path.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#data_setCookie(java.lang.String, java.lang.String)">data_setCookie</A></B>(java.lang.String name, java.lang.String value)</CODE><BR> Set a cookie for the current user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#data_setCookie(java.lang.String, java.lang.String, java.lang.Long)">data_setCookie</A></B>(java.lang.String name, java.lang.String value, java.lang.Long expires)</CODE><BR> Set a cookie for the current user, with the specified expiration date.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/ExtensibleClient.html#data_setCookie(java.lang.String, java.lang.String, java.lang.Long, java.lang.String)">data_setCookie</A></B>(java.lang.String name, java.lang.String value, java.lang.Long expires, java.lang.String path)</CODE><BR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?