2016-05-23 70 views
0

我正在嘗試使用PHP simple dom parser來製作一個使用instagram帳戶的圖片的小工具。與instagram一起使用PHP簡單dom解析器

但是,當我嘗試使用解析器提取內容時,我得到一個空白頁面。無論如何,使它與Instagram的工作?

require 'simplehtmldom_1_5/simple_html_dom.php'; 


// Create DOM from URL or file 
$html = file_get_html('https://www.instagram.com/techcrunch/'); 

// Find all images 
foreach($html->find('img') as $element) 
    echo $element->src . '<br>'; 
+0

的可能的複製[Instagram的公共RSS提要](http://stackoverflow.com/questions/14747870/instagram-public-rss-feed) – CarlosCarucce

回答