Skip to content
Advertisement

Tag: oauth-2.0

Refreshing Instagram long-lived access token works in browser (http) but not PHP (curl)

hope you can help. I’m trying to implement Instagram’s Basic Display API but unfortunately I’m running into problems generating a long-lived access token or refreshing an existing long-lived token using PHP/cURL. It seems I’m far from the only one having this or similar issues. I followed Facebooks getting-started guide (located here) and was able to generate a short-lived access token,

Zoom Api – I can’t update a meeting

I am trying to update a meeting using Zoom API but I can’t get it to work. I’m trying to do a PATCH request using eleague oauth2 client like this: I’m getting an empty response, and I’m not sure what is missing. Can anyone help me? Answer basically the response given by the api is blank or just meeting updated

Zoom API – Request to check email does not work

I am trying to consume Zoom’s API using PHP and Oauth2. I was able to connect to the aplication and get the token using the generic lib oauth2-client. But, when I try to make a simple request, I get an error, saying that the email is missing. This is my code: As you can see, I am passing the email

creating an invoice using OAuth2 in xero

I am following along with the code samples provided here – https://github.com/XeroAPI/xero-php-oauth2/blob/master/docs/Api/AccountingApi.md#createInvoice However, i am always receiving the following error message: “ErrorNumber”: 17, “Type”: “NoDataProcessedException”, “Message”: “No data has been processed for this endpoint. This endpoint is expecting Invoice data to be specifed in the request body.” Any ideas why this is the case. I have added quotes around the

How to get an OAuth 2.0 token in PHP?

I need to connect to a REST API of a customer. The first step is to get an OAuth 2.0 access token. I got the following information from the customer: Login (I assume it’s the client_id) Password (I assume it’s the client_secret) The flow is password The regular API URL The Token API URL I found code at http://tutorialspage.com/simple-oauth2-example-using-php-curl/ and

Advertisement