facebookrestclient.html

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

HTML
1,129
字号
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Constructor</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#FacebookRestClient(java.lang.String, java.lang.String, java.lang.String, java.lang.String, int)">FacebookRestClient</A></B>(java.lang.String&nbsp;serverAddr,                   java.lang.String&nbsp;apiKey,                   java.lang.String&nbsp;secret,                   java.lang.String&nbsp;sessionKey,                   int&nbsp;connectionTimeout)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Constructor</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#FacebookRestClient(java.net.URL, java.lang.String, java.lang.String, java.lang.String)">FacebookRestClient</A></B>(java.net.URL&nbsp;serverUrl,                   java.lang.String&nbsp;apiKey,                   java.lang.String&nbsp;secret,                   java.lang.String&nbsp;sessionKey)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Constructor</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#FacebookRestClient(java.net.URL, java.lang.String, java.lang.String, java.lang.String, int)">FacebookRestClient</A></B>(java.net.URL&nbsp;serverUrl,                   java.lang.String&nbsp;apiKey,                   java.lang.String&nbsp;secret,                   java.lang.String&nbsp;sessionKey,                   int&nbsp;connectionTimeout)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Constructor</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#FacebookRestClient(java.net.URL, java.lang.String, java.lang.String, java.lang.String, int, int)">FacebookRestClient</A></B>(java.net.URL&nbsp;serverUrl,                   java.lang.String&nbsp;apiKey,                   java.lang.String&nbsp;secret,                   java.lang.String&nbsp;sessionKey,                   int&nbsp;connectionTimeout,                   int&nbsp;readTimeout)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Constructor</TD></TR></TABLE>&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#_getExpires()">_getExpires</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;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#_getSessionKey()">_getSessionKey</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;java.lang.Long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#_getUserId()">_getUserId</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;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#_setExpires(java.lang.Long)">_setExpires</A></B>(java.lang.Long&nbsp;_expires)</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;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#_setSessionKey(java.lang.String)">_setSessionKey</A></B>(java.lang.String&nbsp;key)</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;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#_setUserId(java.lang.Long)">_setUserId</A></B>(java.lang.Long&nbsp;id)</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>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#addParam(java.lang.String, java.lang.CharSequence, java.util.Collection)">addParam</A></B>(java.lang.String&nbsp;name,         java.lang.CharSequence&nbsp;value,         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;params)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#addParam(java.lang.String, java.lang.Long, java.util.Collection)">addParam</A></B>(java.lang.String&nbsp;name,         java.lang.Long&nbsp;value,         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;params)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#addParamIfNotBlank(java.lang.String, java.lang.CharSequence, java.util.Collection)">addParamIfNotBlank</A></B>(java.lang.String&nbsp;name,                   java.lang.CharSequence&nbsp;value,                   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;params)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#addParamIfNotBlank(java.lang.String, java.lang.Long, java.util.Collection)">addParamIfNotBlank</A></B>(java.lang.String&nbsp;name,                   java.lang.Long&nbsp;value,                   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;params)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&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_getAllocation(com.google.code.facebookapi.AllocationType)">admin_getAllocation</A></B>(<A HREF="../../../../com/google/code/facebookapi/AllocationType.html" title="enum in com.google.code.facebookapi">AllocationType</A>&nbsp;allocationType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Get your application's current allocation of the specified type of request (i.e.</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_getAllocation(java.lang.String)">admin_getAllocation</A></B>(java.lang.String&nbsp;allocationType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Get your application's current allocation of the specified type of request (i.e.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;org.json.JSONObject</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#admin_getAppProperties(java.util.Collection)">admin_getAppProperties</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;<B>Deprecated.</B>&nbsp;<I>use admin_getAppPropertiesMap() instead</I></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/ApplicationPropertySet.html" title="class in com.google.code.facebookapi">ApplicationPropertySet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.html#admin_getAppPropertiesAsSet(java.util.EnumSet)">admin_getAppPropertiesAsSet</A></B>(java.util.EnumSet&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;<B>Deprecated.</B>&nbsp;Gets property values previously set for an application on either the Facebook Developer application or the with the <code>admin.setAppProperties</code> call.</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#admin_getAppPropertiesAsString(java.util.Collection)">admin_getAppPropertiesAsString</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;<B>Deprecated.</B>&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/FacebookRestClient.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;<B>Deprecated.</B>&nbsp;Retrieve 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#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;org.w3c.dom.Document</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.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;org.w3c.dom.Document</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.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;<B>Deprecated.</B>&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;org.w3c.dom.Document</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookRestClient.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>

⌨️ 快捷键说明

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