ifacebookrestclient.html

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

HTML
1,010
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve application properties.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;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;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html#admin_getAppPropertiesMap(java.util.Collection)">admin_getAppPropertiesMap</A></B>(java.util.Collection&lt;<A HREF="../../../../com/google/code/facebookapi/ApplicationProperty.html" title="enum in com.google.code.facebookapi">ApplicationProperty</A>&gt;&nbsp;properties)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve application properties.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html" title="type parameter in IFacebookRestClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html#admin_getDailyMetrics(java.util.Set, java.util.Date, java.util.Date)">admin_getDailyMetrics</A></B>(java.util.Set&lt;<A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A>&gt;&nbsp;metrics,                      java.util.Date&nbsp;start,                      java.util.Date&nbsp;end)</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;<A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html" title="type parameter in IFacebookRestClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html#admin_getDailyMetrics(java.util.Set, long, long)">admin_getDailyMetrics</A></B>(java.util.Set&lt;<A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A>&gt;&nbsp;metrics,                      long&nbsp;start,                      long&nbsp;end)</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;<A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html" title="type parameter in IFacebookRestClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html#admin_getMetrics(java.util.Set, java.util.Date, java.util.Date, long)">admin_getMetrics</A></B>(java.util.Set&lt;<A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A>&gt;&nbsp;metrics,                 java.util.Date&nbsp;start,                 java.util.Date&nbsp;end,                 long&nbsp;period)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve metrics for the current application.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html" title="type parameter in IFacebookRestClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html#admin_getMetrics(java.util.Set, long, long, long)">admin_getMetrics</A></B>(java.util.Set&lt;<A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A>&gt;&nbsp;metrics,                 long&nbsp;start,                 long&nbsp;end,                 long&nbsp;period)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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/IFacebookRestClient.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/IFacebookRestClient.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/IFacebookRestClient.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;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/IFacebookRestClient.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;Set application properties.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html" title="type parameter in IFacebookRestClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.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;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;<A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html" title="type parameter in IFacebookRestClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.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;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;<A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html" title="type parameter in IFacebookRestClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.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;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;<A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html" title="type parameter in IFacebookRestClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.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;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/IFacebookRestClient.html#auth_createToken()">auth_createToken</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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/IFacebookRestClient.html#auth_expireSession()">auth_expireSession</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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/IFacebookRestClient.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;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/IFacebookRestClient.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/IFacebookRestClient.html#auth_promoteSession()">auth_promoteSession</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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/IFacebookRestClient.html#auth_revokeAuthorization()">auth_revokeAuthorization</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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;<A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html" title="type parameter in IFacebookRestClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.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;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/IFacebookRestClient.html#beginBatch()">beginBatch</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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/IFacebookRestClient.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;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>&nbsp;<A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html" title="type parameter in IFacebookRestClient">T</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/IFacebookRestClient.html#data_getCookies()">data_getCookies</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get all cookies for the currently logged-in user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">

⌨️ 快捷键说明

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