douyujun0152 2012-03-06 11:39
浏览 62
已采纳

在我的网站内用javascript(或php)获取facebook帖子/活动/新闻/图库

I'm tryin to develop a (almost) 100% client-side dynamic website by integrating it with twitter, facebook and flickr.

I've been able so far to get the last 4 tweets (with javascript) from my client's feed, and now i was wandering if i could do the same with facebook's gallery and events from their feed.

Especially, what i need (given the facebook username/api key/whatever)

gallery

for each gallery in user's profile:

  • get the gallery name
  • get the first picture
  • get the gallery url

news/events

for each news/event/post in user's profile:

  • get the event name
  • get the event text
  • get the event picture (if provided)
  • get the event url

I don't want to use the facebook widgets with their rendering, i just need to read the json response (if there's any) and put the data inside my website (like a preview).

Since my client is pretty rusty with "computers (cit.)" but he's (not so strangely) comfortable with facebook/twitter/flickr, i tought about a solution like this before adding a database and an admin interface to our website.

I found some resources online, so i think it's possible (in a way or another). I'd like to do it in javascript, but if it's php i won't complain.

  • 写回答

2条回答 默认 最新

查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 公交车和无人机协同运输
  • ¥15 stm32代码移植没反应
  • ¥15 matlab基于pde算法图像修复,为什么只能对示例图像有效
  • ¥100 连续两帧图像高速减法
  • ¥15 组策略中的计算机配置策略无法下发
  • ¥15 如何绘制动力学系统的相图
  • ¥15 对接wps接口实现获取元数据
  • ¥20 给自己本科IT专业毕业的妹m找个实习工作
  • ¥15 用友U8:向一个无法连接的网络尝试了一个套接字操作,如何解决?
  • ¥30 我的代码按理说完成了模型的搭建、训练、验证测试等工作(标签-网络|关键词-变化检测)