Questions tagged [php]

Questions about using PHP code to interact with Stack Exchange and/or the Stack Exchange API. ... For general PHP questions, post on Stack Overflow instead.

Filter by
Sorted by
Tagged with
33
votes
6answers
6k views

Stack.PHP - Powerful and Extensive Library for Accessing the Stack Exchange API - Including Full Support for v2.0.

Don't know where to start? Begin by checking out the Stack.PHP website. Then head over here for a quick tutorial on setting up and using Stack.PHP. About Why you should use Stack.PHP: Stack....
7
votes
1answer
434 views

Getting “application not configured for implicit grants” error trying to setup website

I had a developer setup StackExchange auth for a site last year and that still works fine. I have cloned that site and am in the process of changing out all of the relevant names and keys to the new ...
14
votes
2answers
2k views

PHPstack - A PHP wrapper to the SE API

PHPstack PHPstack is meant to be an easy to use PHP wrapper for the Stack Exchange API. <?php require_once('lib/requestcore.class.php'); require_once('phpstack.class.php'); $so = new ...
19
votes
0answers
2k views

OBSOLETE - StackImage - Generating Images of Questions and Users [Now with Global Flair!]

RIP June 23, 2010 - July 4, 2013 All of the features that StackImage provides are either available with the built-in flair on each Stack Exchange site or provided by StackImage's successor: ...
4
votes
0answers
77 views

How to quickly retag a question from the API?

I'm playing with the write API, and I'd like to simply retag a question. This is the code I have so far: $editURL = 'https://api.stackexchange.com/2.2/questions/' . $question->{"question_id"} . '/...
2
votes
0answers
448 views

OAuth2 Authentication Redirection error in PHP

I'm trying to authenticate into Stack Exchange's API with the following URL: https://stackexchange.com/oauth/dialog?client_id=3535&scope=write_access&redirect_uri=https://stackexchange.com/...
0
votes
1answer
310 views

Stack Exchange v2.2 PHP API Client [closed]

I am developing a PHP library for interacting with the Stack Exchange API. Most of the methods are unimplemented so far. I am writing this post because I need to test some auth methods. My app ...