0

I've been going at this for about an hour and a half now and I just can't seem to figure out composer! I'm trying to install the Google APis php client library so that I can access the calendar api. I am following PHP Quickstart

I think everything is set up correctly but when I get to the final step PHP quickstart.php git bash gives me these errors. (BELOW)

enter image description here

This is my file structure (BELOW)

enter image description here

By the way I do have the autoloader.

Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449
cosmichero2025
  • 1,029
  • 4
  • 14
  • 37

1 Answers1

1

Your error message has nothing to do with composer

Missing required redirect uri

Redirect URI is set in the Google developer console for your project it should also be included in the JSon file you downloaded. You should go back to your tutorial and check Step 1: Turn on the Google Calendar API. you missed something in there.

Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449
  • You were right I gave it the wrong name it sent me a link and i copied the code but after entering the code it give me this error.... also I can't upload files in a response so I'm going to give you a gyazo and I will be uploading real pictures in the future. https://gyazo.com/28beaabf561b15227552e555714fea67 – cosmichero2025 Mar 14 '17 at 14:32
  • Have you tried reading the errors you are getting? That is a different error now that is a ssl error http://stackoverflow.com/questions/24611640/curl-60-ssl-certificate-unable-to-get-local-issuer-certificate If you cant figure that one out I suggest you open another question. Its best to keep to one issue per question. – Linda Lawton - DaImTo Mar 14 '17 at 14:35
  • 1
    Alright I'll do that also thanks for helping with the first one. – cosmichero2025 Mar 14 '17 at 14:37
  • I am not going to be much help with the other one anyway that's a curl error I have very little experience with curl. – Linda Lawton - DaImTo Mar 14 '17 at 14:38