summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Facebook/src/http.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Facebook/src/http.cpp b/protocols/Facebook/src/http.cpp
index cc892ffb5f..d6950c4099 100644
--- a/protocols/Facebook/src/http.cpp
+++ b/protocols/Facebook/src/http.cpp
@@ -117,6 +117,7 @@ AsyncHttpRequest* FacebookProto::CreateRequest(const char *szUrl, const char *sz
pReq->AddHeader("Authorization", "OAuth " + m_szAuthToken);
}
+ pReq->AddHeader("User-Agent", FB_API_AGENT);
pReq->AddHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8");
return pReq;
}