如何消费Facebook的"自动补什么"建议式下拉建议、Facebook、QUOT

2023-09-10 19:05:09 作者:浓酒烈

当你去编辑您最喜爱的音乐或电影在Facebook上,你会发现一个自动完成建议列表,基本上是一切(品牌名称,音乐艺术家,电影等),一个人怎么能消费的清单列表在自己的code?它是Facebook的API的一部分?

When you go to edit your favorite music or movies on Facebook, you will notice an autocomplete suggest list that is basically a list of "everything" (brand names, music artists, movies, etc.) How can someone consume that list in their own code? Is it part of the Facebook API?

推荐答案

它们封装的某些功能在他们的FBML领域,但他们的开发维基表演的他们怎么做他们。如果你想,虽然他们的消费数据,你将不得不与HTTP代理玩,弄清楚哪些参数发送给他们的服务器。另外,还有一些似乎是基于会话的一对夫妇的参数,所以我不知道你会如何才能够融入到这一点你自己的应用程序。

They wrap some of the functionality in their FBML fields, but their developer wiki shows how they do what they do. If you want to consume their data though, you're going to have to play with an HTTP proxy and figure out what parameters to send to their server. There are also a couple parameters that seem to be session based, so I don't know how well you're going to be able to integrate this into your own application.