Hot answers tagged stack.php
StackCenter gives me my overall rep, as well as rep and comments per site. But it doesn't give me a dashboard of all my recent question votes, answer votes, and comments. I'd like to see my "recent" view more or less with the existing layout -- because it works well, and the "summary" and other detail tabs are useful -- but one view that contains all the ...
Anything transferred to the client and used by the client is inherently insecure. That being said, the API key can safely be divulged to the client. The only thing you need to protect is the client secret - which is only used in the explicit authentication flow. More details here: https://api.stackexchange.com/docs/authentication
As the author of Stack.PHP, I will try to answer your questions. "How do I limit the number of results provided by STACK.PHP..." The API will only return the first 30 items from the result set by default. This number can be set to anywhere from 1 to 100. To set this value in Stack.PHP, call the Pagesize() method on a PagedResponse object. For example: ...
I am the author of stack.PHP and I'd be glad to answer your question. The problem is that those sites are actually sub-domains of 'stackexchange.com', so what you need to do is change: $service = new Post_Exchange('gamedev', null, 0); to: $service = new Post_Exchange('gamedev.stackexchange', null, 0); Hopefully you get the expected results. If not ...
Only top voted, non community-wiki answers of a minimum length are eligible