mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
changing categories into query list
This commit is contained in:
parent
049e05283a
commit
0d2ef96a3f
3 changed files with 4 additions and 3 deletions
|
@ -95,7 +95,7 @@
|
|||
self.appDelegate = (NewsBlurAppDelegate *)[[UIApplication sharedApplication] delegate];
|
||||
NSString *urlString = [NSString stringWithFormat:@
|
||||
"http://%@/social/activities?user_id=%@&page=%i&limit=10"
|
||||
"&category=star,feedsub,follow,comment_reply,comment_like,sharedstory",
|
||||
"&category=star&category=feedsub&category=follow&category=comment_reply&category=comment_like&category=sharedstory",
|
||||
NEWSBLUR_URL,
|
||||
[appDelegate.dictUserProfile objectForKey:@"user_id"],
|
||||
page];
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
|
||||
NSString *urlString = [NSString stringWithFormat:@
|
||||
"http://%@/social/interactions?user_id=%@&page=%i&limit=10"
|
||||
"&categories=follow,comment_reply,comment_like,reply_reply,story_reshare",
|
||||
"&category=follow&category=comment_reply&category=comment_like&category=reply_reply&category=story_reshare",
|
||||
NEWSBLUR_URL,
|
||||
[appDelegate.dictUserProfile objectForKey:@"user_id"],
|
||||
page];
|
||||
|
|
|
@ -100,12 +100,13 @@
|
|||
[self.profileBadge initProfile];
|
||||
NSString *urlString = [NSString stringWithFormat:@
|
||||
"http://%@/social/profile?user_id=%@"
|
||||
"&category=follow,comment_reply,comment_like,sharedstory",
|
||||
"&category=follow&category=comment_reply&category=comment_like&category=sharedstory",
|
||||
NEWSBLUR_URL,
|
||||
appDelegate.activeUserProfileId];
|
||||
NSURL *url = [NSURL URLWithString:urlString];
|
||||
|
||||
ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url];
|
||||
|
||||
[request setDelegate:self];
|
||||
[request setDidFinishSelector:@selector(requestFinished:)];
|
||||
[request setDidFailSelector:@selector(requestFailed:)];
|
||||
|
|
Loading…
Add table
Reference in a new issue