Skip to content

Commit

Permalink
add & before max_id in GetUserTagsUri method (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
hosseinRezaei188 authored May 12, 2021
1 parent aedcbbe commit ebb2f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InstaSharper/Helpers/UriCreator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public static Uri GetUserTagsUri(long userPk, string rankToken, string maxId = n
out var instaUri))
throw new Exception("Cant create URI for get user tags");
var query = $"rank_token={rankToken}&ranked_content=true";
if (!string.IsNullOrEmpty(maxId)) query += $"max_id={maxId}";
if (!string.IsNullOrEmpty(maxId)) query += $"&max_id={maxId}";
var uriBuilder = new UriBuilder(instaUri) {Query = query};
return uriBuilder.Uri;
}
Expand Down

0 comments on commit ebb2f7e

Please sign in to comment.