Skip to content

Commit 6d72ae8

Browse files
committed
Merge pull request #2 from uzyn/master
GET params handling
2 parents 14dce18 + 3c199d0 commit 6d72ae8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

InstagramStrategy.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public function request(){
4444
$params['response_type'] = $this->strategy['response_type'];
4545

4646
// redirect to generated url
47-
// NOTE: have to decode url because Instagram display error page e.g. scope=likes+comments
48-
$this->redirect($url.'?'.urldecode(http_build_query($params, '', '&')));
47+
$this->clientGet($url, $params);
4948
}
5049

5150
/**

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ Required parameters:
3636
```
3737

3838
Optional parameters:
39-
`scope`, `response_type`
39+
`scope`, `response_type`
40+
For `scope`, separate each scopes with a space(' ') and not a plus sign ('+'). Eg. `likes comments`.
4041

4142

4243
References

0 commit comments

Comments
 (0)