Here now are the FQL queries, each with a short description. For each query, replace 00000000 with your Facebook ID number.
1. Profile information of friends (Update 3; added “quotes” on 3 Jan 2010): SELECT uid, first_name, last_name, name, pic_big, affiliations, religion, birthday, birthday_date, sex, hometown_location, political, current_location, activities, interests, music, tv, movies, books, quotes, about_me, hs_info, education_history, work_history, profile_url, profile_blurb, family, username, website FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = 00000000)
2. Events you have attended: SELECT eid, name, tagline, pic_big, host, description, event_type, event_subtype, start_time, end_time, creator, location, venue FROM event WHERE eid IN (SELECT eid FROM event_member WHERE uid = 00000000 AND rsvp_status = “attending”)
3. Your friend lists: SELECT flid, name FROM friendlist WHERE owner = 00000000
4. The members of your friend lists: SELECT flid, uid FROM friendlist WHERE flid IN (SELECT flid FROM friendlist WHERE owner = 00000000)
5. Your notes: SELECT note_id, title, created_time, content FROM note WHERE uid = 00000000
6. Comments on your notes: SELECT object_id, post_id, fromid, time, text FROM comment WHERE object_id IN (SELECT note_id FROM note WHERE uid = 00000000)
7. Pages you’re a fan of: SELECT page_id, name, pic_big, website, type FROM page WHERE page_id IN (SELECT page_id FROM page_fan WHERE uid = 00000000)
8. Links you have posted: SELECT link_id, owner_comment, created_time, title, summary, url, image_urls FROM link WHERE owner = 00000000
9. Threads in your inbox (requires “read_mailbox” permissions): SELECT thread_id, folder_id, subject, recipients, updated_time, parent_message_id, parent_thread_id, message_count, snippet, snippet_author, object_id FROM thread WHERE folder_id = 0
10. Threads in your outbox (requires “read_mailbox” permissions): SELECT thread_id, folder_id, subject, recipients, updated_time, parent_message_id, parent_thread_id, message_count, snippet, snippet_author, object_id FROM thread WHERE folder_id = 1
11. Messages in your inbox (requires “read_mailbox” permissions): SELECT message_id, thread_id, author_id, body, created_time, attachment FROM message WHERE thread_id IN (SELECT thread_id FROM thread WHERE folder_id = 0)
12. Messages in your outbox (requires “read_mailbox” permissions): SELECT message_id, thread_id, author_id, body, created_time, attachment FROM message WHERE thread_id IN (SELECT thread_id FROM thread WHERE folder_id = 0)
13. Your wall posts (requires “read_stream” permissions): SELECT post_id, app_id, source_id, updated_time, created_time, attribution, actor_id, target_id, message, app_data, action_links, attachment, comments, likes, privacy, permalink, tagged_ids, is_hidden FROM stream WHERE source_id = 00000000
14. Comments on your wall posts (requires “read_stream” permissions): SELECT post_id, fromid, time, text FROM comment WHERE post_id IN (SELECT post_id FROM stream WHERE source_id = 00000000)
15. Your photo albums: SELECT aid, cover_pid, name, created, modified, description, location, size, link, visible, modified_major, type, object_id FROM album WHERE owner = 00000000
16. Comments on your photo albums: SELECT object_id, post_id, fromid, time, text FROM comment WHERE object_id IN (SELECT object_id FROM album WHERE owner = 00000000)
17. Your photos: SELECT pid, aid, src_big, src_big_height, src_big_width, link, caption, created, modified, object_id FROM photo WHERE aid IN (SELECT aid FROM album WHERE owner = 00000000)
18. Comments on your photos: SELECT object_id, post_id, fromid, time, text FROM comment WHERE object_id IN (SELECT object_id FROM photo WHERE aid IN (SELECT aid FROM album WHERE owner = 00000000))
19. Your videos: SELECT vid, title, description, thumbnail_link, embed_html, updated_time, created_time FROM video WHERE owner = 00000000
20. Comments on your videos: SELECT object_id, post_id, fromid, time, text FROM comment WHERE object_id IN (SELECT vid FROM video WHERE owner = 00000000)
21. Groups you’re a member of: SELECT gid, name, nid, pic_big, description, group_type, group_subtype, recent_news, creator, update_time, office, website, venue, privacy FROM group WHERE gid IN (SELECT gid FROM group_member WHERE uid = 00000000)
22. People tagged in your photos (Update 2; added 2 Jan 2010): SELECT pid, subject, text, xcoord, ycoord, created FROM photo_tag WHERE pid IN (SELECT pid FROM photo WHERE aid IN (SELECT aid FROM album WHERE owner = 00000000))
23. People tagged in you videos (Update 5; added 4 Jan 2010): SELECT vid, subject FROM video_tag WHERE vid IN (SELECT vid FROM video WHERE owner = 00000000)
分享到:
相关推荐
本书可能详细解析了Facebook开发工具的使用,如开发者仪表板、Graph API和FQL(Facebook Query Language)等,帮助开发者更好地理解和利用Facebook的数据和功能。 【描述】: 虽然描述信息为空,但根据标题我们...
在这个例子中,我们使用的是Facebook的FQL(Facebook Query Language),这是一种基于SQL的查询语言,用于检索Facebook的数据。 代码中的关键部分是`simplexml_load_file`函数,它用于加载并解析XML文件。在这个...
此外,还涵盖了Facebook的FQL(Facebook Query Language),这是一种专为查询Facebook数据设计的语言,类似于SQL,但更适应社交网络环境。 书中还会深入到Facebook的社交插件和JavaScript SDK,这些工具可以帮助...
【标题】:FQL——全查询语言(Full Query Language) 【描述】:FQL,全称为全查询语言,是一种在特定领域中用于处理数据查询的编程接口或语法规范。它通常用于数据库系统、数据分析工具或者某些软件应用中,提供...
- `fql.query`:执行FQL查询,FQL是一种专为Facebook设计的SQL-like语言,用于检索Facebook的数据。 7. **社交图谱**: - `friends.areFriends`:返回指定用户对之间是否互为朋友。 - `friends.get`:获取当前...
- FQL(Facebook Query Language)是Facebook专用的查询语言,它允许开发者查询Facebook平台上的数据,例如用户信息、用户间的社交关系等。 - FBML(Facebook Markup Language)是一种基于HTML的标记语言,用于构建...
3. **可扩展性**:由于FQL是解释为SQL的,它可以适应各种数据库系统,只要有一个合适的适配器将FQL转化为特定数据库的SQL语句。这使得FQL具备了良好的跨平台和跨数据库系统的能力。 4. **性能优化**:尽管FQL提供了...
4. **FQL(Facebook Query Language)**:虽然FQL在新版本的API中逐渐被弃用,但在旧项目中仍然可能遇到。它是一种类似于SQL的语言,用于查询Facebook的社交图谱数据。 5. **Social Plugins**:Facebook提供了多种...
在这个例子中,`bubbleSort`方法接收一个整数数组作为参数,然后通过两层嵌套循环实现冒泡排序。外层循环控制整个排序过程,内层循环则负责每轮的比较和交换操作。`main`方法中创建了一个待排序的数组,并调用`...
【全栈FQL工作坊】是一个专注于JavaScript技术的实践项目,旨在帮助开发者深入理解全栈开发中的查询语言和数据管理。在这个工作坊中,我们将主要探讨如何使用FQL(全栈查询语言)来构建高效、灵活的数据交互层,从而...
开发者可能需要熟悉FQL(Facebook Query Language)或者Graph API来获取和操纵时间线上的数据。 总结来说,时间线效果在UI设计中扮演着重要角色,无论是QQ空间的个人时光轴还是Facebook的时间线,它们都利用了先进...
飞秋,全称为“FeiQ”,是一款专为局域网设计的即时通讯软件,它在没有互联网连接的情况下,能够实现在同一网络环境下的用户之间的高效沟通和文件共享。这款工具的功能性和易用性与大众熟知的QQ颇为相似,但其主要...
炉火适用于React + FlureeQL的Fluree客户端用法: import {ReactConnect , FlureeProvider , flureeQL} from 'fql-react' ;const conn = ReactConnect ( { url : "http://instance-domain.flur.ee" , instance : ...
import gql from fql - graphql ; const userQuery = gql ` query ($username: String!) { _user (ident: ["username", $username]) { username person { nameGiven nameFamily } } } ` ;
【飞秋修改版】是一个基于源码级别的工具,主要用于改进和扩展原版“飞秋”软件的功能。飞秋,又名FeiQ,是一款在局域网内流行的即时通讯软件,它提供了类似QQ的聊天、文件传输等服务,尤其适合企业或学校内部使用。...
将模拟退火算法的Metropolis准则用于平衡模糊Q学习中探索和扩张之间的关系,提出基于Metropolis准则的模糊Q学习算法Simulated Annealing Fuzzy Q-learning(SA-FQL)。利用SA-FQL算法优化区域的公共周期,在给定周期...