/**
* @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
共2000个文件
png:952个
class:798个
java:342个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 114 浏览量
2022-07-07
09:13:33
上传
评论
收藏 10.68MB ZIP 举报
温馨提示
Android应用源码饭否网两种安卓客户端源码.zip
资源详情
资源评论
资源推荐
收起资源包目录
Android应用源码饭否网两种安卓客户端源码.zip (2000个子文件)
resources.ap_ 1.02MB
resources.ap_ 478KB
resources.ap_ 10KB
SplashPage.apk 1.44MB
fanfoudroid.apk 849KB
fanfoudroid-test.apk 17KB
Response.java.bk 9KB
Response.java.bk 9KB
SqliteTemplate.java.bk 3KB
SqliteTemplate.java.bk 3KB
FStatus2.java.bk 2KB
FStatus2.java.bk 2KB
jarlist.cache 120B
jarlist.cache 120B
jarlist.cache 120B
proguard.cfg 1KB
proguard.cfg 1KB
PullToRefreshBase.class 30KB
ApiClientImpl.class 29KB
Weibo.class 27KB
TwitterDatabase.class 24KB
Base64.class 23KB
ImageHelper.class 23KB
WriteActivity.class 22KB
FanFouProvider.class 21KB
HomePage.class 21KB
StatusActivity.class 21KB
Database.class 20KB
WritePage.class 19KB
HttpClient.class 19KB
HTMLEntity.class 19KB
FanFouService.class 18KB
User.class 18KB
ColorPickerView.class 16KB
TitlePageIndicator.class 16KB
ProfileActivity.class 15KB
TwitterCursorBaseActivity.class 14KB
ProfilePage.class 13KB
ImageManager.class 13KB
ApiParser.class 13KB
StatusPage.class 13KB
DownloadService.class 13KB
SendPage.class 12KB
UserListBaseActivity.class 12KB
PullToRefreshListView.class 12KB
PullToRefreshAdapterViewBase.class 11KB
Status.class 11KB
DmActivity.class 11KB
UserChoosePage.class 11KB
Status.class 11KB
UserListPage.class 11KB
ImageViewTouchBase.class 11KB
TwitterService.class 11KB
LoadingLayout.class 10KB
UserCursorBaseActivity.class 10KB
StatusModel.class 10KB
DirectMessage.class 10KB
UserTimelineActivity.class 10KB
BaseTimelineActivity.class 10KB
FanfouServiceManager.class 10KB
CommonHelper.class 10KB
QuickAction.class 10KB
R$string.class 10KB
LinkifyCompat.class 10KB
TwitterListBaseActivity.class 10KB
OAuthHelper.class 10KB
SearchResultsPage.class 10KB
StringHelper.class 9KB
MyProfilePage.class 9KB
R$drawable.class 9KB
SearchResultActivity.class 9KB
NotificationService.class 9KB
FanfouWidget.class 9KB
R$drawable.class 9KB
User.class 9KB
UserSelectPage.class 9KB
LoginActivity.class 9KB
R$id.class 9KB
EditProfilePage.class 9KB
NetworkHelper.class 8KB
PullToRefreshListView.class 8KB
Configuration.class 8KB
TwitterActivity.class 8KB
IOHelper.class 8KB
BaseActivity.class 8KB
StatusDAO.class 8KB
SearchActivity.class 8KB
ColorPickerPreference.class 8KB
WeiboResponse.class 8KB
UserModel.class 8KB
UserArrayAdapter.class 8KB
WriteDmActivity.class 8KB
ActionManager.class 8KB
FanfouWidgetSmall.class 7KB
DirectMessageModel.class 7KB
UserArrayBaseActivity.class 7KB
EndlessListView.class 7KB
StatusArrayAdapter.class 7KB
NavBar.class 7KB
AppContext.class 7KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
reg183
- 粉丝: 1817
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Anaconda3-2024.02-1-Windows-x86-64.exe
- stm32cubemx can通信 一个板子负责传感器采集 一个板子负责wifi传递到网页 网页可控制传感器板子.zip
- k8s集群搭建1.27.1版本(来源于图灵k8s笔记)
- 树莓派连接 DS18B20 温度传感器读取温度时监控客户端,服务器端连接状况,实现断线重连机制
- 小游戏-坦克大战,你认为的小游戏
- 最好用的富文本编辑器wangeditor
- jQuery 3.7.1
- 校园失物招领小程序源码可作毕业设计
- SAP客户端GUI740安装包(JAVA版本)
- winlibs-x86-64-posix-seh-gcc-13.2.0-llvm-16.0.6-mingw-w64msvcrt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0