Open maudiruiz opened 9 years ago
same here. @maudiruiz did you find a solution?
any update on this? same situation...
Looks like the scheme for generating signatures has changed.
Currently the library is doing...
private function _signHeader() {
$ipAddress = $_SERVER['SERVER_ADDR'];
$signature = hash_hmac('sha256', $ipAddress, $this->_apisecret, false);
return join('|', array($ipAddress, $signature));
}
@cosenary @vinkla I see there's some discussion on the future of this project. If I create a pull request for this issue, is it likely to be reviewed / merged?
I'm trying to do a user-like experiment and I'm using the method:
$instagram->setSignedHeader(true);
However my petitions are not getting signed and I'm restricted to the 30 petitions per hour."The maximum number of requests per hour has been exceeded. You have made 35 requests of the 30 allowed in the last hour."
The is something wrong with the Signed Header method... Can't figure out what. My app has the: Enforce signed header ENABLED And I'm passing the user token with the
setAccessToken()
method...