summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/requests/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/requests/profile.h')
-rw-r--r--protocols/FacebookRM/src/requests/profile.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/protocols/FacebookRM/src/requests/profile.h b/protocols/FacebookRM/src/requests/profile.h
index 1301262703..ecd0c43b4c 100644
--- a/protocols/FacebookRM/src/requests/profile.h
+++ b/protocols/FacebookRM/src/requests/profile.h
@@ -32,8 +32,7 @@ public:
{
flags |= NLHRF_REDIRECT;
- Url
- << "v=info";
+ Url << CHAR_PARAM("v", "info");
}
};
@@ -57,8 +56,7 @@ public:
{
flags |= NLHRF_REDIRECT;
- Url
- << CHAR_VALUE("profile_id", userId);
+ Url << CHAR_PARAM("profile_id", userId);
}
};
@@ -69,8 +67,7 @@ public:
ProfileRequest(bool mobileBasicWorks, const char *data) :
HttpRequest(REQUEST_GET, FORMAT, "%s/%s", mobileBasicWorks ? FACEBOOK_SERVER_MBASIC : FACEBOOK_SERVER_MOBILE, data)
{
- Url
- << "v=info";
+ Url << CHAR_PARAM("v", "info");
}
};
@@ -82,9 +79,9 @@ public:
HttpRequest(REQUEST_GET, FORMAT, "%s/profile.php", mobileBasicWorks ? FACEBOOK_SERVER_MBASIC : FACEBOOK_SERVER_MOBILE)
{
Url
- << CHAR_VALUE("id", userId)
- << "v=info"
- << "locale=en_US";
+ << CHAR_PARAM("id", userId)
+ << CHAR_PARAM("v", "info")
+ << CHAR_PARAM("locale", "en_US");
}
};