In most APIs such as facebook and bebo, in order to use the API there, you have to get the key and the secret, I'm just wondering what good methods such a system does. I will use PHP / MysQL.
How can I verify that the user key and secret are ok when the application sends an API request? I was thinking about storing them in mysql, and I will keep them there no matter what, but I was wondering if there is any other method that is better for the validation process, instead of hitting the database every time hit API?
source share