如何消费Facebook的"自动补什么"建议式下拉 [英] How to consume Facebook's "autocomplete anything" suggest-style dropdown

查看:117
本文介绍了如何消费Facebook的"自动补什么"建议式下拉的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当你去编辑您最喜爱的音乐或电影在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.

这篇关于如何消费Facebook的"自动补什么"建议式下拉的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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