/**
* @deprecated 饭否没有评论功能
* @param comment the comment text
* @param id status id
* @param cid reply comment id, can be null
* @return the comment object
* @throws WeiboException
*/
public Comment updateComment(String comment, String id, String cid) throws WeiboException {
PostParameter[] params = null;
if (cid == null)
params = new PostParameter[] {
new PostParameter("comment", comment),
new PostParameter("id", id)
};
else
params = new PostParameter[] {
new PostParameter("comment", comment),
new PostParameter("cid", cid),
new PostParameter("id", id)
};
// return new Comment(http.post(getBaseURL() + "statuses/comment.xml", params, true), this);
return new Comment(http.post(getBaseURL() + "statuses/comment.json", params, true));
}
/**
* Destroys the status specified by the required ID parameter. The authenticating user must be the author of the specified status.
* <br>This method calls http://api.t.sina.com.cn/statuses/comment_destroy/id.format
*
* @param statusId The ID of the status to destroy.
* @return the deleted status
* @throws WeiboException when Weibo service or network is unavailable
* @deprecated 饭否没有评论功能
* @since 1.0.5
* @see <a href="http://open.t.sina.com.cn/wiki/index.php/Statuses/comment_destroy">statuses/comment_destroy </a>
*/
public Comment destroyComment(long commentId) throws WeiboException {
return new Comment(http.delete(getBaseURL() + "statuses/comment_destroy/" + commentId + ".json?source=" + CONSUMER_KEY,
true));
/*return new Comment(http.delete(getBaseURL() + "statuses/comment_destroy/" + commentId + ".xml?source=" + CONSUMER_KEY,
true), this);*/
}
/*********************************************/
/**
* Returns the specified user's friends, each with current status inline.
* <br>This method calls http://api.t.sina.com.cn/statuses/friends.format
*
* @return the list of friends
* @throws WeiboException when Weibo service or network is unavailable
* @see <a href="http://open.t.sina.com.cn/wiki/index.php/Statuses/friends">statuses/friends </a>
* @deprecated use getFriendsStatues() instead
*/
public List<User> getFriends() throws WeiboException {
return getFriendsStatuses();
}
/**
* Returns the specified user's friends, each with current status inline.
* <br>This method calls http://api.t.sina.com.cn/statuses/friends.format
*
* @return the list of friends
* @throws WeiboException when Weibo service or network is unavailable
* @see <a href="http://open.t.sina.com.cn/wiki/index.php/Statuses/friends">statuses/friends </a>
* @since Weibo4J 2.0.9
*/
public List<User> getFriendsStatuses() throws WeiboException {
// return User.constructUsers(get(getBaseURL() + "statuses/friends.xml", true), this);
return User.constructResult(get(getBaseURL() + "users/friends.json", true));
}
/**
* Returns the specified user's friends, each with current status inline.
* <br>This method calls http://api.t.sina.com.cn/statuses/friends.format
*
* @param paging controls pagination
* @return the list of friends
* @throws WeiboException when Weibo service or network is unavailable
* @since Weibo4J 2.0.1
* @see <a href="http://open.t.sina.com.cn/wiki/index.php/Statuses/friends">statuses/friends </a>
* @deprecated Use getFriendsStatuses(Paging paging) instead
*/
public List<User> getFriends(Paging paging) throws WeiboException {
return getFriendsStatuses(paging);
}
/**
* Returns the specified user's friends, each with current status inline.
* <br>This method calls http://api.t.sina.com.cn/statuses/friends.format
*
* @param paging controls pagination
* @return the list of friends
* @throws WeiboException when Weibo service or network is unavailable
* @since Weibo4J 2.0.9
* @see <a href="http://open.t.sina.com.cn/wiki/index.php/Statuses/friends">statuses/friends </a>
*/
public List<User> getFriendsStatuses(Paging paging) throws WeiboException {
/*return User.constructUsers(get(getBaseURL() + "statuses/friends.xml", null,
paging, true), this);*/
return User.constructUsers(get(getBaseURL() + "users/friends.json", null,
paging, true));
}
/**
* Returns the specified user's friends, each with current status inline.
* <br>This method calls http://api.t.sina.com.cn/statuses/friends.format
*
* @param page number of page
* @return the list of friends
* @throws WeiboException when Weibo service or network is unavailable
* @deprecated Use getFriendsStatuses(Paging paging) instead
* @see <a href="http://open.t.sina.com.cn/wiki/index.php/Statuses/friends">statuses/friends </a>
*/
public List<User> getFriends(int page) throws WeiboException {
return getFriendsStatuses(new Paging(page));
}
/**
* Returns the user's friends, each with current status inline.
* <br>This method calls http://api.t.sina.com.cn/statuses/friends.format
*
* @param id the ID or screen name of the user for whom to request a list of friends
* @return the list of friends
* @throws WeiboException when Weibo service or network is unavailable
* @see <a href="http://open.t.sina.com.cn/wiki/index.php/Statuses/friends">statuses/friends </a>
* @deprecated use getFriendsStatuses(id) instead
*/
public List<User> getFriends(String id) throws WeiboException {
return getFriendsStatuses(id);
}
/**
* Returns the user's friends, each with current status inline.
* <br>This method calls http://api.t.sina.com.cn/statuses/friends.format
*
* @param id the ID or screen name of the user for whom to request a list of friends
* @return the list of friends
* @throws WeiboException when Weibo service or network is unavailable
* @see <a href="http://open.t.sina.com.cn/wiki/index.php/Statuses/friends">statuses/friends </a>
* @since Weibo4J 2.0.9
*/
public List<User> getFriendsStatuses(String id) throws WeiboException {
/*return User.constructUsers(get(getBaseURL() + "statuses/friends/" + id + ".xml"
, false), this);*/
return User.constructUsers(get(getBaseURL() + "users/friends.json",
new PostParameter[] {new PostParameter("id", id)}
, false));
}
/**
* Returns the user's friends, each with current status inline.
* <br>This method calls http://api.t.sina.com.cn/statuses/friends.format
*
* @param id the ID or screen name of the user for whom to request a list of friends
* @param paging controls pagination
* @return the list of friends
* @throws WeiboException when Weibo service or network is unavailable
* @since Weibo4J 2.0.1
* @see <a href="http://open.t.sina.com.cn/wiki/index.php/Statuses/friends">statuses/friends </a>
* @deprecated use getFriendsStatuses(id,paging) instead
*/
public List<User> getFriends(String id, Paging paging) throws WeiboException {
return getFriendsStatuses(id, paging);
}
/**
* Returns the user's friends, each with current status inline.
* <br>This method calls http://api.t.sina.com.cn/statuses/friends.format
*
* @param id the ID or screen name of the user for whom to request a list of friends
* @param paging controls pa
没有合适的资源?快使用搜索试试~ 我知道了~
Android应用源码之饭否网.zip项目安卓应用源码下载
共1112个文件
class:366个
png:351个
java:149个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 139 浏览量
2022-03-08
13:48:11
上传
评论
收藏 3.9MB ZIP 举报
温馨提示
Android应用源码之饭否网.zip项目安卓应用源码下载Android应用源码之饭否网.zip项目安卓应用源码下载 1.适合学生毕业设计研究参考 2.适合个人学习研究参考 3.适合公司开发项目技术参考
资源推荐
资源详情
资源评论
收起资源包目录
Android应用源码之饭否网.zip项目安卓应用源码下载 (1112个子文件)
resources.ap_ 478KB
fanfoudroid.apk 844KB
Response.java.bk 9KB
Response.java.bk 9KB
SqliteTemplate.java.bk 3KB
SqliteTemplate.java.bk 3KB
FStatus2.java.bk 2KB
FStatus2.java.bk 2KB
proguard.cfg 1KB
proguard.cfg 1KB
Weibo.class 27KB
TwitterDatabase.class 23KB
WriteActivity.class 22KB
StatusActivity.class 21KB
HttpClient.class 19KB
HTMLEntity.class 19KB
User.class 18KB
ProfileActivity.class 15KB
TwitterCursorBaseActivity.class 14KB
ImageManager.class 13KB
UserListBaseActivity.class 12KB
PullToRefreshListView.class 12KB
DmActivity.class 11KB
Status.class 11KB
TwitterService.class 11KB
UserCursorBaseActivity.class 10KB
UserTimelineActivity.class 10KB
R$string.class 10KB
TwitterListBaseActivity.class 10KB
R$drawable.class 9KB
SearchResultActivity.class 9KB
FanfouWidget.class 9KB
LoginActivity.class 9KB
Configuration.class 8KB
TwitterActivity.class 8KB
BaseActivity.class 8KB
StatusDAO.class 8KB
SearchActivity.class 8KB
WeiboResponse.class 8KB
UserArrayAdapter.class 8KB
WriteDmActivity.class 8KB
FanfouWidgetSmall.class 7KB
UserArrayBaseActivity.class 7KB
NavBar.class 7KB
DirectMessage.class 7KB
WithHeaderActivity.class 7KB
MenuDialog.class 7KB
TwitterService$RetrieveTask.class 7KB
TwitterApplication.class 7KB
TweetCursorAdapter.class 6KB
Tweet.class 6KB
RetweetDetails.class 6KB
OAuthClient.class 6KB
MergeAdapter.class 6KB
Trends.class 6KB
WidgetService.class 6KB
SQLiteTemplate.class 6KB
TweetArrayAdapter.class 6KB
Response.class 6KB
ActivityFlipper.class 6KB
TextHelper.class 6KB
XAuthClient.class 6KB
Query.class 5KB
R$id.class 5KB
QueryResult.class 5KB
Status.class 5KB
FavoritesActivity.class 5KB
User.class 5KB
Query.class 5KB
DmActivity$Adapter.class 5KB
UserCursorAdapter.class 5KB
FollowingActivity.class 5KB
GenericTask.class 5KB
SavedSearch.class 4KB
MyTextView.class 4KB
IDs.class 4KB
DmActivity$DmRetrieveTask.class 4KB
StatusTable.class 4KB
DebugTimer.class 4KB
SearchResultActivity$SearchTask.class 4KB
LazyImageLoader.class 4KB
UserTimelineActivity$UserTimelineRetrieveTask.class 4KB
TwitterCursorBaseActivity$1.class 4KB
MentionActivity.class 4KB
WriteActivity$SendTask.class 4KB
TwitterDatabase$DatabaseHelper.class 4KB
FlingGestureListener.class 4KB
UserTimelineActivity$UserTimelineLoadMoreTask.class 4KB
FollowTable.class 4KB
FanDatabase.class 4KB
LoginActivity$LoginTask.class 4KB
RateLimitStatus.class 4KB
LocationService.class 3KB
AboutActivity.class 3KB
DateTimeHelper.class 3KB
LazyImageLoader$GetImageTask.class 3KB
ShakeListener.class 3KB
UserInfoTable.class 3KB
UserArrayBaseActivity$RetrieveTask.class 3KB
TwitterCursorBaseActivity$GetMoreTask.class 3KB
共 1112 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12
资源评论
yxkfw
- 粉丝: 81
- 资源: 2万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 水仙花数的四种实现方式(C/Java/Python/JavaScript)
- (源码)基于TensorflowLite的AI狗识别系统.zip
- (源码)基于Qt框架的3D点云与模型可视化系统.zip
- JAVA的SpringBoot企业级进销存ERP管理系统源码 java进销存源码数据库 MySQL源码类型 WebForm
- (源码)基于Python的学生管理系统.zip
- 图片oraclemysal
- 深入讲解贪心算法及其Python实现与实例应用
- java人力资源HR管理系统源码数据库 MySQL源码类型 WebForm
- BT_esp32_370_DRV8833_BALANCE_verticalPID_turnPID.ino
- buildroot package使用示例
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功