title: Make my own api with oauth
body: <p>Hy ,</p>
  
  <p>I want to make my own api (api.mysite.com).<br>
     But i want to secure it with OAuth.<br>
     I couldn`t find a good tutorial on how to implement it.  </p>
  
  <p>I would like something like this:   </p>
  
  <p>On api.mysite.com to be the files for oauth :    </p>
  
  <p>-where user sends the signed request and i return him the needed data (first send him something like 1 or 0).  </p>
  
  <p>And on localhost/testapi to be the file index.php:<br>
    -where user signs the request and sends it to api.mysite.com where it is processed and returns the result if it`s all ok  </p>
  
  <p>Where could i find the best tutorial that explains what to put on api.mysite.com , what to put in localhost/testapi and the sql structure?  </p>
  
  <p>Thank you and sorry for my dumbness   </p>