From 677953067f2bb5502a70f0d004f1ac844b18a128 Mon Sep 17 00:00:00 2001 From: emkael Date: Mon, 16 Jan 2017 22:04:43 +0100 Subject: * Facebook support --- .../src/Facebook/Http/RequestBodyUrlEncoded.php | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 lib/facebook-graph-sdk/src/Facebook/Http/RequestBodyUrlEncoded.php (limited to 'lib/facebook-graph-sdk/src/Facebook/Http/RequestBodyUrlEncoded.php') diff --git a/lib/facebook-graph-sdk/src/Facebook/Http/RequestBodyUrlEncoded.php b/lib/facebook-graph-sdk/src/Facebook/Http/RequestBodyUrlEncoded.php new file mode 100644 index 0000000..77c2b64 --- /dev/null +++ b/lib/facebook-graph-sdk/src/Facebook/Http/RequestBodyUrlEncoded.php @@ -0,0 +1,55 @@ +params = $params; + } + + /** + * @inheritdoc + */ + public function getBody() + { + return http_build_query($this->params, null, '&'); + } +} -- cgit v1.2.3