All Questions
4 questions
1
vote
1
answer
2k
views
Unable to decode HTML entities in the API response?
I am trying to decode HTML entities from the JSON data returned by the Stack Exchange API but it's not working.
I have used both html_entity_decode and htmlspecialchars_decode but it doesn't effect ...
2
votes
0
answers
313
views
Array boolean values are returning empty
I am trying to convert a JSON array to a PHP array, and the boolean values are being lost. I think I need to loop round using foreach() and cast the items as they are placed in to the new array, but I ...
4
votes
0
answers
106
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"} . '/...
0
votes
1
answer
261
views
Post to Stackoverflow
Is it possible to post a question to Stack Overflow using PHP in the same way that it's possible to post content to Facebook?