Merge pull request #272 from tfriem/develop
Fix X-FACEBOOK-PLATFORM authentication in Python3.
This commit is contained in:
commit
84a6ed8e80
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class X_FACEBOOK_PLATFORM(Mech):
|
|||
b'api_key': self.credentials['api_key']
|
||||
}
|
||||
|
||||
resp = '&'.join(['%s=%s' % (k, v) for k, v in resp_data.items()])
|
||||
resp = '&'.join(['%s=%s' % (k.decode("utf-8"), v.decode("utf-8")) for k, v in resp_data.items()])
|
||||
return bytes(resp)
|
||||
return b''
|
||||
|
||||
|
|
Loading…
Reference in a new issue