Merge pull request #272 from tfriem/develop
Fix X-FACEBOOK-PLATFORM authentication in Python3.
This commit is contained in:
commit
84a6ed8e80
@ -111,7 +111,7 @@ class X_FACEBOOK_PLATFORM(Mech):
|
|||||||
b'api_key': self.credentials['api_key']
|
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 bytes(resp)
|
||||||
return b''
|
return b''
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user