Fix X-FACEBOOK-PLATFORM authentication in Python3.
This commit is contained in:
parent
df9ad82336
commit
01e1878900
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