我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

我的Facebook画廊突然停止了工作

I want to make a FB gallery that gets album images from FB page. A few days ago I have coded it and works fine, but only loaded first 50 albums. Since yesterday, it's not working. When test below code I couldn't get anything from my FB page.

 $string = file_get_contents('http://graph.facebook.com/fbpage/albums?fields=id,count');
echo $string;

But if I changed the url something like,

$string = file_get_contents('http://google.com/')
echo $string;

Then I can get the contents.

近期文章

  • 为什么php数组不能转换为JSON?
  • 本地化的软件架构
  • 如何从网址中删除特殊字符?
  • 动态js与本地html文件中的phantomjs
  • jQuery Datepicker只有一组特定的日期
  • 表单元素的html表单元素与php函数
  • php包含多个字段的文件(构建框架)
  • GAE上PHP 5.5中的直接文件上传功能是什么?
  • php从文件中找到字符串,以xxx字开头,直到字yyy
  • 如何检查和插入复选框父和子的值?
  • SQLSTATE [HY000] [2005]未知的MySQL服务器主机'localhost'(2)
  • 使用PHP条件和Metamod仅在特定URL上显示joomla模块
  • 使用pg_query_params数组占位符搜索多个列
  • 保存在mysql表中时,文件名中不包含文件格式
  • 按id mysql / php的最大出现次数对数据库表进行排序
  • 将值存储在cookie中
  • 在json url中调用php函数?
  • 用于连字动态网址的下划线
  • 避免全局在函数内部
  • PHP错误SoapClient getProxy()

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华