/Reddit-PHP-Comments

Using PHP to pull comments form embedded webpage if it has been submitted to reddit.

Primary LanguagePHP

Code is embeded in webpage in php.

get_final_url is invoed to find redirect provided by reddit. If successful, the page has been submitted in the past AND there is comments for this submittions comments will be displayed.

.json is added to end of reddit url to get json file of post.