Is that possible?sould I combine the like number into mysql?
A:
If I understood you correctly you have a set of pages and you want to sort links to them according to their like counters. You can do this using FQL:
SELECT url, like_count FROM link_stat WHERE url IN("FIRST_URL","SECOND_URL") ORDER BY like_count desc
(see link_stat
table)
serg
2010-10-21 15:48:06
select post_id from link_stat
nzh
2010-10-21 15:55:12
then I can query mysql by post_id get content detail.
nzh
2010-10-21 15:56:20
@nzh If you want to sort posts then you can run FQL on `stream` table to get like counts for posts.
serg
2010-10-21 16:02:21