从Facebook活动Feed中提取链接 [英] Extract Links from Facebook activity feed

查看:184
本文介绍了从Facebook活动Feed中提取链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从Facebook活动Feed获取链接,我已经尝试从iframe中提取HTML,但是由于跨域不起作用。然后我尝试cURL,但这不工作,因为javascript。

I'm trying to get the links from a facebook activity feed, i've tried extracting the HTML from the iframe, but this doesn't work because of cross domain. Then I tried cURL but that doesn't work because of the javascript.

http://开发人员。 facebook.com/docs/reference/plugins/activity

任何想法?

推荐答案

这是不可能的,基本上它需要你的会话,你不能维护在iframe,我几天前通过file_get_contents和cURL尝试,但没有任何工作。

It is not possible, basically it requires your session that you can't maintain in iframe, I tried this some days ago through file_get_contents and cURL but nothing works.

这篇关于从Facebook活动Feed中提取链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆