facebookrestclient.html

来自「A Facebook API client implemented in Jav」· HTML 代码 · 共 1,129 行 · 第 1/5 页

HTML
1,129
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Retrieve the daily metrics for the current application.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#admin_getNotificationAllocation()">admin_getNotificationAllocation</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#admin_getRequestAllocation()">admin_getRequestAllocation</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#admin_setAppProperties(com.google.code.facebookapi.ApplicationPropertySet)">admin_setAppProperties</A></B>(<A HREF="../../../../com/google/code/facebookapi/ApplicationPropertySet.html" title="class in com.google.code.facebookapi">ApplicationPropertySet</A>&nbsp;properties)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Sets several property values for an application.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#admin_setAppProperties(java.util.Map)">admin_setAppProperties</A></B>(java.util.Map&lt;<A HREF="../../../../com/google/code/facebookapi/ApplicationProperty.html" title="enum in com.google.code.facebookapi">ApplicationProperty</A>,java.lang.String&gt;&nbsp;properties)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Set application properties.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;org.w3c.dom.Document</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#application_getPublicInfo(java.lang.Long, java.lang.String, java.lang.String)">application_getPublicInfo</A></B>(java.lang.Long&nbsp;applicationId,                          java.lang.String&nbsp;applicationKey,                          java.lang.String&nbsp;applicationCanvas)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Gets the public information about the specified application.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;org.w3c.dom.Document</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#application_getPublicInfoByApiKey(java.lang.String)">application_getPublicInfoByApiKey</A></B>(java.lang.String&nbsp;applicationKey)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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>&nbsp;org.w3c.dom.Document</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#application_getPublicInfoByCanvasName(java.lang.String)">application_getPublicInfoByCanvasName</A></B>(java.lang.String&nbsp;applicationCanvas)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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>&nbsp;org.w3c.dom.Document</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#application_getPublicInfoById(java.lang.Long)">application_getPublicInfoById</A></B>(java.lang.Long&nbsp;applicationId)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#auth_createToken()">auth_createToken</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#auth_expireSession()">auth_expireSession</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Expires the curently active session.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#auth_getSession(java.lang.String)">auth_getSession</A></B>(java.lang.String&nbsp;authToken)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#auth_getUserId(java.lang.String)">auth_getUserId</A></B>(java.lang.String&nbsp;authToken)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#auth_promoteSession()">auth_promoteSession</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#auth_revokeAuthorization()">auth_revokeAuthorization</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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>&nbsp;org.w3c.dom.Document</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#batch_run(java.lang.String, boolean)">batch_run</A></B>(java.lang.String&nbsp;methods,          boolean&nbsp;serial)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Executes a batch of queries.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#beginBatch()">beginBatch</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Starts a batch of queries.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#beginPermissionsMode(java.lang.String)">beginPermissionsMode</A></B>(java.lang.String&nbsp;apiKey)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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 &nbsp;org.w3c.dom.Document</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.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>&nbsp;method,           java.util.Collection&lt;<A HREF="../../../../com/google/code/facebookapi/Pair.html" title="class in com.google.code.facebookapi">Pair</A>&lt;java.lang.String,java.lang.CharSequence&gt;&gt;&nbsp;paramPairs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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 &nbsp;org.w3c.dom.Document</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.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>&nbsp;method,           <A HREF="../../../../com/google/code/facebookapi/Pair.html" title="class in com.google.code.facebookapi">Pair</A>&lt;java.lang.String,java.lang.CharSequence&gt;...&nbsp;paramPairs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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>&nbsp;org.w3c.dom.Document</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#data_getCookies()">data_getCookies</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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>&nbsp;org.w3c.dom.Document</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#data_getCookies(java.lang.Long)">data_getCookies</A></B>(java.lang.Long&nbsp;userId)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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>&nbsp;org.w3c.dom.Document</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#data_getCookies(java.lang.Long, java.lang.CharSequence)">data_getCookies</A></B>(java.lang.Long&nbsp;userId,                java.lang.CharSequence&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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>&nbsp;org.w3c.dom.Document</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#data_getCookies(java.lang.String)">data_getCookies</A></B>(java.lang.String&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#data_getUserPreference(java.lang.Integer)">data_getUserPreference</A></B>(java.lang.Integer&nbsp;prefId)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Lookup a single preference value for the current user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.Map&lt;java.lang.Integer,java.lang.String&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#data_getUserPreferences()">data_getUserPreferences</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Get a map containing all preference values set for the current user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#data_setCookie(java.lang.Long, java.lang.CharSequence, java.lang.CharSequence)">data_setCookie</A></B>(java.lang.Long&nbsp;userId,               java.lang.CharSequence&nbsp;name,               java.lang.CharSequence&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;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>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#data_setCookie(java.lang.Long, java.lang.CharSequence, java.lang.CharSequence, java.lang.CharSequence)">data_setCookie</A></B>(java.lang.Long&nbsp;userId,               java.lang.CharSequence&nbsp;name,

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?