PHP enables everyone to log on to OAuth and call APIs. The PHPSDK provided by everyone's open platform, I personally feel that it is not well written, and it cannot run on my computer. it is always a 113 error. I have not found this error code in the document, as a result, everyone had to open the php sdk provided by the platform. I personally felt that it was not well written and could not run on my computer. it was always a 113 error. the error code was not found in the document, so I had to follow the official documents and use PHP to implement it myself. The code is as follows. it is not encapsulated. it just follows the process. It is not necessary to encapsulate logon authentication and simple API calls only for everyone connection. As a PHP demonstration of using Renren API. You can also refer to the SDK code and DEMO code on the official website when writing your own code.
Note:
1. use the HttpClient class to initiate Get and Post requests.
The ghost SDK, I personally feel that the writing is not very good, and I cannot run it on my computer, it is always a 113 error. the error code is not found in the document, so I had...