搜索
热搜: 活动 交友 discuz
Hi~登录注册
查看: 2845|回复: 3
打印 上一主题 下一主题

转载 Python 获取Facebook用户的Friends的爱好

[复制链接]

44

主题

58

帖子

327

积分

实习版主

Rank: 7Rank: 7Rank: 7

积分
327
跳转到指定楼层
楼主
发表于 2018-8-17 10:26:58 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式



Code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
'''
Created on 2014-8-11
@author: guaguastd
@name: friends_like_query.py
'''
# impot login
from login import facebook_login
# import helper
from helper import pp
# access to facebook
facebook_api = facebook_login()
# get friends like through single request
#friends_like = facebook_api.get_object('me', fields='id,name,friends.fields(id,name,likes)')
#pp(friends_like)
# get friends like through multi request
friends = facebook_api.get_connections("me", "friends")['data']
likes = { friend['name'] : facebook_api.get_connections(friend['id'], "likes")['data']
         for friend in friends}
pp(likes)
RESULT:
{
"Ayel\u00e9n Basualdo": [
  {
   "category": "olitical organization",
   "created_time": "2014-08-10T00:10:06+0000",
   "name": "Franja Morada Unnoba",
   "id": "252788808246291"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-07-26T17:45:39+0000",
   "name": "Casi Justicia Social",
   "id": "291192007558215"
  },
  {
   "category": "Athlete",
   "created_time": "2014-07-15T03:30:07+0000",
   "name": "Leo Messi",
   "id": "176063032413299"
  },
  {
   "category": "Concert tour",
   "created_time": "2014-06-19T14:53:14+0000",
   "name": "Rocanrol del Pa\u00eds",
   "category_list": [
    {
     "id": "189811544396762",
     "name": "Tour Company"
    },
    {
     "id": "189483194405517",
     "name": "Music Production"
    }
   ],
   "id": "120829411335868"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-04-25T05:57:38+0000",
   "name": "Casi Justicia Social",
   "id": "186801098006391"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-04-13T00:34:42+0000",
   "name": "atricio Santos Fontanet",
   "id": "129227477145991"
  },
  {
   "category": "Clothing",
   "created_time": "2014-04-11T00:59:20+0000",
   "name": "ink Sowa",
   "id": "315625671848264"
  },
  {
   "category": "Community",
   "created_time": "2014-04-11T00:58:41+0000",
   "name": "Carla Alzarise Make Up",
   "id": "635673476494422"
  },
  {
   "category": "Artist",
   "created_time": "2014-04-11T00:58:14+0000",
   "name": "au Scarso Photography",
   "id": "311476752304841"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-04-02T14:49:23+0000",
   "name": "Callejeros",
   "id": "112518935427743"
  },
  {
   "category": "Community",
   "created_time": "2014-01-10T04:41:06+0000",
   "name": "Desmotivaciones",
   "id": "223674711050633"
  },
  {
   "category": "Non-profit organization",
   "created_time": "2014-01-03T05:56:50+0000",
   "name": "math2me.com",
   "id": "111313502273467"
  },
  {
   "category": "Musician/band",
   "created_time": "2013-12-09T15:26:04+0000",
   "name": "No soy un juguete para que me uses as\u00ed \u00ac\u00ac",
   "id": "383629088374915"
  },
  {
   "category": "Actor/director",
   "created_time": "2013-11-22T21:21:28+0000",
   "name": "William Levy",
   "id": "112186865458988"
  },
  {
   "category": "Actor/director",
   "created_time": "2013-11-22T21:21:16+0000",
   "name": "willian levy",
   "id": "222552687769874"
  },
  {
   "category": "ublic figure",
   "created_time": "2013-11-01T08:06:58+0000",
   "name": "Eloy Rivera",
   "id": "216305491880276"
  },
  {
   "category": "Community",
   "created_time": "2013-10-25T20:50:32+0000",
   "name": "A Los Ex no se les llora. Se Les Reemplaza",
   "id": "163371247101242"
  },
  {
   "category": "Community",
   "created_time": "2013-10-22T10:49:03+0000",
   "name": "laneta Curioso \u30c3",
   "category_list": [
    {
     "id": "2612",
     "name": "Community"
    }
   ],
   "id": "266607060030312"
  },
  {
   "category": "Community",
   "created_time": "2013-06-08T00:10:56+0000",
   "name": "Acci\u00f3n No\u00c9tica",
   "id": "124893474372443"
  },
  {
   "category": "Community",
   "created_time": "2013-05-09T22:38:20+0000",
   "name": "HaceleUnQueQue",
   "id": "392800027438611"
  },
  {
   "category": "Community",
   "created_time": "2013-05-09T22:29:17+0000",
   "name": "Tu Mejor Indirecta",
   "id": "115910455197276"
  },
  {
   "category": "Community",
   "created_time": "2013-05-09T22:23:37+0000",
   "name": "Cosas Seg\u00fan Tu Signo!\u00aa *_*",
   "id": "458425620858836"
  },
  {
   "category": "School",
   "created_time": "2013-04-28T17:21:19+0000",
   "name": "Normal school",
   "id": "107665875923184"
  },
  {
   "category": "School",
   "created_time": "2013-04-26T20:00:10+0000",
   "name": "ENAL: Escuela Normal Abraham Lincoln",
   "id": "182120471836890"
  },
  {
   "category": "Community",
   "created_time": "2013-03-23T03:23:38+0000",
   "name": "Cosas para cada signo (Solo Chicas)",
   "id": "226339580784404"
  }
],
"Los Mas Lindos del Mundo": [
  {
   "category": "Artist",
   "created_time": "2014-07-21T21:28:06+0000",
   "name": "Mariia",
   "id": "473055352760740"
  },
  {
   "category": "ublic figure",
   "created_time": "2014-03-26T01:34:49+0000",
   "name": "Yo querer Comidaaaaaaaa",
   "id": "1485476044997944"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-03-04T06:08:39+0000",
   "name": "Justin Bieber",
   "category_list": [
    {
     "id": "180164648685982",
     "name": "Bands & Musicians"
    }
   ],
   "id": "67253243887"
  },
  {
   "category": "Dancer",
   "created_time": "2014-03-04T05:59:27+0000",
   "name": "Odio a violetta",
   "id": "477044532392301"
  },
  {
   "category": "Just for fun",
   "created_time": "2014-03-04T00:17:31+0000",
   "name": "Hay Si Voy A Llorar Por Que No Me Hablas",
   "id": "200571013335090"
  },
  {
   "category": "Artist",
   "created_time": "2014-03-01T19:12:16+0000",
   "name": "ElrusOMG",
   "id": "243428735824540"
  },
  {
   "category": "Community",
   "created_time": "2014-03-01T19:07:05+0000",
   "name": "Mundo De Chicas",
   "id": "712814788750011"
  },
  {
   "category": "Book",
   "created_time": "2014-03-01T19:05:01+0000",
   "name": "Alone With Vampire",
   "id": "1428572367384217"
  },
  {
   "category": "ublic figure",
   "created_time": "2014-03-01T19:05:01+0000",
   "name": "\u0627\u0635\u0639\u0628 \u0637\u0631\u064a\u0642",
   "id": "394277387335472"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-03-01T19:04:57+0000",
   "name": "Katerine Acosta Y Candela Ojeda",
   "id": "729558540395702"
  },
  {
   "category": "Community",
   "created_time": "2014-03-01T19:04:53+0000",
   "name": "A la mierda con la universidad quiero ser rapera",
   "id": "249345665216961"
  },
  {
   "category": "Movie",
   "created_time": "2014-03-01T19:04:52+0000",
   "name": "uerco Potter",
   "id": "262836607218328"
  },
  {
   "category": "Community",
   "created_time": "2014-02-13T00:02:24+0000",
   "name": "Yo tambien soy una criaturita del se\u00f1or :3",
   "id": "407148159404858"
  },
  {
   "category": "Fictional character",
   "created_time": "2013-06-13T02:24:36+0000",
   "name": "Gorthik",
   "id": "425479780818649"
  },
  {
   "category": "Health/beauty",
   "created_time": "2014-03-06T23:17:50+0000",
   "name": "NIVEA",
   "category_list": [
    {
     "id": "2214",
     "name": "Health/Beauty"
    }
   ],
   "id": "541368475916786"
  }
],
"Soofi Cat": [
  {
   "category": "Community",
   "created_time": "2014-08-08T20:42:53+0000",
   "name": "QUE Ondaaaaaaa",
   "id": "308899162602479"
  },
  {
   "category": "Chemicals",
   "created_time": "2014-08-08T20:42:51+0000",
   "name": "Makeup Accessories \u10e6",
   "id": "330995263720374"
  },
  {
   "category": "Movie",
   "created_time": "2014-08-07T18:03:12+0000",
   "name": "Tu y Yo a 3msc",
   "id": "209428062455280"
  },
  {
   "category": "Movie",
   "created_time": "2014-08-07T17:59:58+0000",
   "name": "Tu y Yo a 3MSC",
   "category_list": [
    {
     "id": "1105",
     "name": "Movie"
    }
   ],
   "id": "262530170580277"
  },
  {
   "category": "Community",
   "created_time": "2014-08-05T18:14:13+0000",
   "name": "Celoso? Ella es mia y no la comparto con nadie. :3",
   "id": "1447497705513226"
  },
  {
   "category": "Community",
   "created_time": "2014-08-04T18:00:35+0000",
   "name": "\u0b90 Ser Novios \u10e6 y a la vez -Los mejores amigos",
   "id": "607975942607600"
  },
  {
   "category": "Community",
   "created_time": "2014-08-01T01:21:00+0000",
   "name": "erdiste Una Princesa \u10e6  ,Por Probar Putas \u30c4",
   "id": "651037201620562"
  },
  {
   "category": "Community",
   "created_time": "2014-08-01T01:19:39+0000",
   "name": "Te pasa por puta :3",
   "id": "899658676714941"
  },
  {
   "category": "Artist",
   "created_time": "2014-07-28T18:37:34+0000",
   "name": "Fili-wey",
   "id": "453159298063434"
  },
  {
   "category": "Community",
   "created_time": "2014-07-28T18:28:13+0000",
   "name": "HolaSoyGerman",
   "id": "1420892814789917"
  },
  {
   "category": "Artist",
   "created_time": "2014-07-28T18:28:02+0000",
   "name": "La gente anda diciendo",
   "id": "446303612080908"
  },
  {
   "category": "Artist",
   "created_time": "2014-07-28T18:27:57+0000",
   "name": "Cau\u00e3 Reymond",
   "id": "195297713833664"
  },
  {
   "category": "Tv show",
   "created_time": "2014-07-28T18:27:53+0000",
   "name": "Avenida Brasil CR",
   "id": "471509816297522"
  },
  {
   "category": "Community",
   "created_time": "2014-07-26T04:46:07+0000",
   "name": "Enamorarse es gratis, olvidar es lo que sale caro \u00ab3",
   "id": "1445719859021187"
  },
  {
   "category": "Community",
   "created_time": "2014-07-25T00:39:11+0000",
   "name": "Lindas y Lindos del Mundoo",
   "id": "602696463176239"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-07-24T03:49:37+0000",
   "name": "Filli wey",
   "id": "181004352098070"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-07-24T03:49:19+0000",
   "name": "Filli Wey",
   "id": "179121985624896"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-07-24T03:46:54+0000",
   "name": "Filli wey oficial",
   "id": "177341872464259"
  },
  {
   "category": "News personality",
   "created_time": "2014-07-24T00:08:50+0000",
   "name": "Contigo Donde Sea y Como sea :3",
   "id": "793590617351980"
  },
  {
   "category": "Community",
   "created_time": "2014-07-14T08:04:06+0000",
   "name": "Tu Sonrisa Me Encanta ",
   "id": "731912830202995"
  },
  {
   "category": "Entertainer",
   "created_time": "2014-07-12T02:53:08+0000",
   "name": "El Bueno, La Mala, y El Feo",
   "id": "554069604681993"
  },
  {
   "category": "Entertainer",
   "created_time": "2014-07-11T21:57:59+0000",
   "name": "Gente com\u00fan",
   "id": "316540071827855"
  },
  {
   "category": "Community",
   "created_time": "2014-07-10T04:37:23+0000",
   "name": "Te Amo",
   "id": "837433679619871"
  },
  {
   "category": "Entertainment website",
   "created_time": "2014-07-10T03:23:15+0000",
   "name": "\u2022el beso mas romantico es el que se da en la lluvia\u2022 ",
   "id": "189478131106534"
  },
  {
   "category": "Just for fun",
   "created_time": "2014-07-10T01:30:08+0000",
   "name": "Cosita hermosa :3",
   "id": "302843336536898"
  }
],
"Silvia Dutto": [
  {
   "category": "Album",
   "created_time": "2014-05-12T10:27:51+0000",
   "name": "Le migliori frasi di pink.",
   "id": "173445392701061"
  },
  {
   "category": "Bags/luggage",
   "created_time": "2014-03-14T18:55:00+0000",
   "name": "Micheal Kors",
   "id": "158136420965380"
  },
  {
   "category": "Public figure",
   "created_time": "2014-03-14T18:54:43+0000",
   "name": "Deborah Iurato e Giada Agasucci \u221e.",
   "id": "169322196605624"
  }
],
"Brenda Magali": [
  {
   "category": "App page",
   "created_time": "2014-08-08T18:50:54+0000",
   "name": "Buggle Community",
   "id": "159071834215238"
  },
  {
   "category": "Community",
   "created_time": "2014-07-31T02:49:30+0000",
   "name": "Desparramados de Nueva Chicago",
   "id": "217531064933039"
  },
  {
   "category": "Community",
   "created_time": "2014-07-31T02:49:14+0000",
   "name": "CEF 69",
   "id": "143952422291988"
  },
  {
   "category": "Community",
   "created_time": "2014-07-31T02:49:04+0000",
   "name": "Lluvias, besos, silencios, lunas y esas miradas que tanto extra\u00f1o",
   "id": "253048448145765"
  },
  {
   "category": "Community",
   "created_time": "2014-07-31T02:48:59+0000",
   "name": "Tu & yo pareja perfecta",
   "id": "503778376303648"
  },
  {
   "category": "Entertainer",
   "created_time": "2014-07-31T02:48:57+0000",
   "name": "Te invito a ser feliz, yo pago",
   "id": "408359209198171"
  },
  {
   "category": "Actor/director",
   "created_time": "2014-07-13T15:33:38+0000",
   "name": "Av.Brasil",
   "id": "191707154353786"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-07-13T15:33:32+0000",
   "name": "Brasil decime que se siente.",
   "id": "1513572578862384"
  },
  {
   "category": "Professional sports team",
   "created_time": "2014-07-13T15:33:30+0000",
   "name": "Hincha de Nueva Chicago desde la cuna hasta el infinito",
   "id": "300423600055252"
  },
  {
   "category": "Community",
   "created_time": "2014-07-10T14:21:59+0000",
   "name": "Te Amo Y Que Alg\u00fan Problema",
   "id": "653444204702887"
  },
  {
   "category": "Community",
   "created_time": "2014-07-05T21:41:29+0000",
   "name": "\u30c4Eres Adicto Al Pou,Admitelo\u30c4",
   "id": "374049586050904"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-07-05T15:23:18+0000",
   "name": "Dj tao (Oficial)",
   "id": "173807685999379"
  },
  {
   "category": "Record label",
   "created_time": "2014-07-05T15:23:09+0000",
   "name": "El As! Producciones",
   "id": "151357321652999"
  },
  {
   "category": "Professional sports team",
   "created_time": "2014-07-04T05:59:15+0000",
   "name": "Nueva Chicago es PasionPorLaCamiseta",
   "id": "346957818721217"
  },
  {
   "category": "App page",
   "created_time": "2014-07-01T14:22:55+0000",
   "name": "Retrica",
   "id": "258115874311602"
  },
  {
   "category": "Company",
   "created_time": "2014-06-30T06:38:19+0000",
   "name": "Robando miradas conquistando corazones y regalando sonrisas.",
   "id": "256829754327725"
  },
  {
   "category": "Community",
   "created_time": "2014-06-30T05:06:43+0000",
   "name": "Romeistas & Aventureras",
   "id": "366359090098802"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-06-30T05:06:41+0000",
   "name": "Romeo0 Santos Fans",
   "id": "323780367682143"
  },
  {
   "category": "Shopping/retail",
   "created_time": "2014-06-20T20:53:32+0000",
   "name": "Rasah Vestidos de fiesta",
   "category_list": [
    {
     "id": "192119584190796",
     "name": "Event"
    },
    {
     "id": "128753240528981",
     "name": "Women's Clothing Store"
    }
   ],
   "id": "114286241984766"
  },
  {
   "category": "Community",
   "created_time": "2014-06-19T00:05:58+0000",
   "name": "Manshox",
   "id": "195484240639613"
  },
  {
   "category": "Product/service",
   "created_time": "2014-06-18T23:09:04+0000",
   "name": "VIOLETA GLACE",
   "category_list": [
    {
     "id": "192119584190796",
     "name": "Event"
    }
   ],
   "id": "174018046316"
  },
  {
   "category": "Event planning/event services",
   "created_time": "2014-06-18T23:06:48+0000",
   "name": "Puro Pilar Eventos",
   "id": "351014884964753"
  },
  {
   "category": "Local business",
   "created_time": "2014-06-18T23:04:20+0000",
   "name": "Novias Gladid",
   "category_list": [
    {
     "id": "128753240528981",
     "name": "Women's Clothing Store"
    },
    {
     "id": "179576078750378",
     "name": "Fashion Designer"
    }
   ],
   "id": "127263887363424"
  },
  {
   "category": "Food/grocery",
   "created_time": "2014-06-18T19:16:54+0000",
   "name": "El Arte Gastronomico Catering",
   "category_list": [
    {
     "id": "189334414420898",
     "name": "Party Center"
    },
    {
     "id": "193705277324704",
     "name": "Event Planning"
    }
   ],
   "id": "634111389995541"
  },
  {
   "category": "Entertainment website",
   "created_time": "2014-06-06T16:18:23+0000",
   "name": "Muere, Zorra \u00ac\u00ac",
   "id": "655553344523514"
  }
],
"Kevin Swaggy": [
  {
   "category": "Athlete",
   "created_time": "2014-06-05T00:42:01+0000",
   "name": "Carlos Tevez",
   "id": "107923362561252"
  },
  {
   "category": "Athlete",
   "created_time": "2014-06-05T00:41:58+0000",
   "name": "Juan Roman Riquelme Web",
   "id": "65239713915"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-06-05T00:41:51+0000",
   "name": "Skrillex",
   "id": "119702488081975"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-06-05T00:41:40+0000",
   "name": "Miley Cyrus",
   "id": "5845317146"
  },
  {
   "category": "Professional sports team",
   "created_time": "2014-06-05T00:41:26+0000",
   "name": "BOCA",
   "category_list": [
    {
     "id": "1801",
     "name": "Professional Sports Team"
    }
   ],
   "id": "114264528738492"
  },
  {
   "category": "Professional sports team",
   "created_time": "2014-06-05T00:41:25+0000",
   "name": "SoyBoca",
   "id": "128436247184676"
  },
  {
   "category": "Professional sports team",
   "created_time": "2014-06-05T00:41:24+0000",
   "name": "Boca Juniors",
   "id": "108179225873870"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-05-29T04:32:05+0000",
   "name": "Usher",
   "id": "6564142497"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-05-29T03:59:40+0000",
   "name": "Justin Bieber",
   "category_list": [
    {
     "id": "180164648685982",
     "name": "Bands & Musicians"
    }
   ],
   "id": "67253243887"
  },
  {
   "category": "Community",
   "created_time": "2014-05-27T15:11:12+0000",
   "name": "Kevin Camacho",
   "id": "298175710358313"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-02-24T03:28:59+0000",
   "name": "Valen etchegoyen",
   "id": "1425246234381355"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-02-24T01:52:01+0000",
   "name": "Amamos a valen etchegoyen",
   "id": "229054800615679"
  },
  {
   "category": "Coach",
   "created_time": "2014-02-24T01:52:00+0000",
   "name": "Boca Junio Fanaticos",
   "id": "1426846987554732"
  },
  {
   "category": "Community",
   "created_time": "2014-02-24T01:51:58+0000",
   "name": "chicas lesbianas en busca de su media naranja",
   "id": "169647703116406"
  }
],
"Nanu Soria": [
  {
   "category": "Movie",
   "created_time": "2014-06-15T22:38:07+0000",
   "name": "\u10e6\u10e6 mi amor por ti es infinito. \u10e6\u10e6",
   "id": "370839123023557"
  },
  {
   "category": "Community",
   "created_time": "2014-05-17T04:16:51+0000",
   "name": "Yo AMO ser lesbiana",
   "id": "190371161023999"
  },
  {
   "category": "App page",
   "created_time": "2014-04-22T20:34:07+0000",
   "name": "Facebook for Every Phone",
   "id": "331288023558058"
  }
],
"Brisa Agustina \u029ai\u025e": [
  {
   "category": "Artist",
   "created_time": "2014-08-10T21:32:32+0000",
   "name": "romero santos",
   "id": "163039513770127"
  },
  {
   "category": "Community",
   "created_time": "2014-08-10T06:42:16+0000",
   "name": "Tipico estas en clases y el profe te dice tu el que no tiene ni puta idea",
   "id": "289071167866155"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-08-10T06:01:33+0000",
   "name": "Sonho de consumo Directioner",
   "id": "418453364866132"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-08-10T06:00:59+0000",
   "name": "Zayn Jawaad Malik",
   "id": "221182761309968"
  },
  {
   "category": "Community",
   "created_time": "2014-08-10T05:51:34+0000",
   "name": "\u0418o' t\u0454qui\u0454\u044f\u03c3 \u30c4 P\u0454\u044fd\u0454\u044f",
   "id": "381373465316849"
  },
  {
   "category": "Community",
   "created_time": "2014-08-10T05:50:52+0000",
   "name": "Y Shi Te Robo un beso? :3",
   "id": "300050783495909"
  },
  {
   "category": "Comedian",
   "created_time": "2014-08-10T05:50:11+0000",
   "name": "Callate los ojos",
   "id": "503190386468433"
  },
  {
   "category": "Health/beauty",
   "created_time": "2014-08-10T05:36:47+0000",
   "name": "\u221eSolo Chic\u00e4s\u221e",
   "id": "662149953828234"
  },
  {
   "category": "Community",
   "created_time": "2014-08-10T05:36:26+0000",
   "name": "Cosa de Chicas",
   "id": "136440849787243"
  },
  {
   "category": "Entertainer",
   "created_time": "2014-08-10T05:31:06+0000",
   "name": "Te amo",
   "id": "671326986281120"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-08-10T05:26:11+0000",
   "name": "Yo Amo A Romeo Santos",
   "id": "242223872491024"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-08-10T05:25:56+0000",
   "name": "Romeo Santos Mundial",
   "id": "191013944285268"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-08-10T05:25:09+0000",
   "name": "Romeo Santos La Formula Vol 2",
   "id": "514674221983083"
  },
  {
   "category": "Community",
   "created_time": "2014-08-10T05:20:11+0000",
   "name": "Yo tambien me peleo con mi hermano/a, pero lo quiero/a",
   "id": "212824372101311"
  },
  {
   "category": "Record label",
   "created_time": "2014-08-10T05:15:58+0000",
   "name": "Sii para tii soy un juego entoces, Game Over",
   "id": "159146600942142"
  },
  {
   "category": "Community",
   "created_time": "2014-08-10T05:12:15+0000",
   "name": "Simplemente te amo asi como eres",
   "id": "706588942715540"
  },
  {
   "category": "Personal blog",
   "created_time": "2014-08-10T05:10:36+0000",
   "name": "El Diario De Una Chica Rara",
   "id": "378772952164878"
  },
  {
   "category": "Athlete",
   "created_time": "2014-08-10T03:36:21+0000",
   "name": "Amo El Futbol",
   "id": "281932015307604"
  },
  {
   "category": "Just for fun",
   "created_time": "2014-08-10T03:35:39+0000",
   "name": "Tu Mama Sera Mi Suegra",
   "id": "591386224210949"
  },
  {
   "category": "Community",
   "created_time": "2014-08-10T03:21:53+0000",
   "name": "Lavezzi POLLO",
   "id": "1511469232397939"
  },
  {
   "category": "Cause",
   "created_time": "2014-08-10T03:20:35+0000",
   "name": "Que El Pocho Lavezzi Juege Sin Camiseta En El Mundial",
   "id": "308378845987670"
  },
  {
   "category": "Movie",
   "created_time": "2014-08-10T02:59:03+0000",
   "name": "Mike Wazowski no ordenaste tu papeleo anoche",
   "id": "543474872340661"
  },
  {
   "category": "Actor/director",
   "created_time": "2014-08-10T02:57:25+0000",
   "name": "TA Lokito VO?",
   "id": "1406040442945967"
  },
  {
   "category": "Community",
   "created_time": "2014-08-10T02:56:50+0000",
   "name": "Te empuje ZORRA > Digoo zorry\u00b7",
   "id": "172147012932599"
  },
  {
   "category": "Movie",
   "created_time": "2014-08-10T02:55:48+0000",
   "name": "Tangled",
   "id": "343565352984"
  }
],
"Jeniifer Mendez": [
  {
   "category": "Community",
   "created_time": "2014-05-25T17:13:57+0000",
   "name": "Tattoo \u221e",
   "id": "448202545283299"
  },
  {
   "category": "Fictional character",
   "created_time": "2014-05-25T17:13:56+0000",
   "name": "Hora de Aventura",
   "id": "1411525012461461"
  },
  {
   "category": "Entertainer",
   "created_time": "2014-05-25T17:13:53+0000",
   "name": "Lucas castell",
   "id": "275685899276401"
  },
  {
   "category": "Comedian",
   "created_time": "2014-05-25T17:13:35+0000",
   "name": "Lucas Castel",
   "id": "288375191238283"
  },
  {
   "category": "Politician",
   "created_time": "2014-05-13T19:51:20+0000",
   "name": "Jos\u00e9 Serra",
   "id": "124815588195"
  },
  {
   "category": "Health/beauty",
   "created_time": "2014-05-13T17:17:46+0000",
   "name": "Nise Froehlich Adesivos",
   "id": "136669829837233"
  },
  {
   "category": "Company",
   "created_time": "2014-05-11T22:31:12+0000",
   "name": "CellMotion",
   "category_list": [
    {
     "id": "187937741228885",
     "name": "Electronics Store"
    }
   ],
   "id": "143614315732684"
  },
  {
   "category": "Media/news/publishing",
   "created_time": "2014-05-11T00:48:33+0000",
   "name": "Radar News",
   "category_list": [
    {
     "id": "108366235907857",
     "name": "Newspaper"
    }
   ],
   "id": "344279605703803"
  },
  {
   "category": "Community",
   "created_time": "2014-04-24T17:55:30+0000",
   "name": "Descontaum",
   "id": "601490173274985"
  },
  {
   "category": "Sports/recreation/activities",
   "created_time": "2014-04-24T12:55:27+0000",
   "name": "Adrena Paintball",
   "category_list": [
    {
     "id": "186982054657561",
     "name": "Sports & Recreation"
    }
   ],
   "id": "256523097731377"
  },
  {
   "category": "Community",
   "created_time": "2014-04-17T03:09:18+0000",
   "name": "Converse Cons M\u00e9xico",
   "id": "200575443303895"
  },
  {
   "category": "App page",
   "created_time": "2014-04-17T03:09:16+0000",
   "name": "Retrica",
   "id": "258115874311602"
  },
  {
   "category": "Entertainer",
   "created_time": "2014-04-17T03:05:30+0000",
   "name": "HolaSoyGerman",
   "id": "166233540126948"
  },
  {
   "category": "App page",
   "created_time": "2014-04-17T03:05:29+0000",
   "name": "WhatsApp",
   "id": "280034132055819"
  },
  {
   "category": "Artist",
   "created_time": "2014-04-17T03:05:27+0000",
   "name": "Cosmo",
   "id": "26943382046"
  },
  {
   "category": "Entertainment website",
   "created_time": "2014-04-17T03:05:16+0000",
   "name": "Germaniters",
   "id": "291480244300917"
  },
  {
   "category": "Movie",
   "created_time": "2014-04-10T12:37:52+0000",
   "name": "Julio Sumiu",
   "id": "546275908791937"
  },
  {
   "category": "Movie",
   "created_time": "2014-04-08T21:03:13+0000",
   "name": "Projecto X",
   "id": "183718825061906"
  },
  {
   "category": "Fictional character",
   "created_time": "2014-04-08T21:03:07+0000",
   "name": "Chistes que te haran llorar de la risa LOL",
   "id": "143391842499822"
  },
  {
   "category": "Community",
   "created_time": "2014-04-08T20:53:54+0000",
   "name": "Pr. Yossef Akiva Oficial",
   "id": "1405826366336534"
  },
  {
   "category": "Business person",
   "created_time": "2014-03-29T19:34:41+0000",
   "name": "Ricardo Xuxa",
   "category_list": [
    {
     "id": "133436743388217",
     "name": "Arts & Entertainment"
    }
   ],
   "id": "1412229625660730"
  },
  {
   "category": "Retail and consumer merchandise",
   "created_time": "2014-03-29T15:22:29+0000",
   "name": "Cascola",
   "id": "211360648943435"
  },
  {
   "category": "Travel/leisure",
   "created_time": "2014-03-29T11:59:40+0000",
   "name": "Bom Embarque",
   "category_list": [
    {
     "id": "162914327091136",
     "name": "Travel Agency"
    }
   ],
   "id": "424516197633381"
  },
  {
   "category": "Company",
   "created_time": "2014-03-29T00:46:07+0000",
   "name": "Loneiro.com.br",
   "category_list": [
    {
     "id": "2200",
     "name": "Company"
    }
   ],
   "id": "230711446965558"
  },
  {
   "category": "Company",
   "created_time": "2014-03-29T00:46:03+0000",
   "name": "Baratinho Mesmo",
   "id": "747304651965472"
  }
],
"\u5434\u57ce": [
  {
   "category": "School",
   "created_time": "2013-11-08T07:07:45+0000",
   "name": "\u6538\u53bf\u4e00\u4e2d",
   "id": "123956490949829"
  }
],
"Wanda Bianchi": [
  {
   "category": "Games/toys",
   "created_time": "2014-06-14T19:19:29+0000",
   "name": "Hra Pou",
   "id": "479607302101977"
  },
  {
   "category": "Professional sports team",
   "created_time": "2014-05-24T23:44:54+0000",
   "name": "El Linque\u00f1o",
   "id": "109679792391529"
  },
  {
   "category": "Website",
   "created_time": "2014-05-06T01:13:54+0000",
   "name": "Aprender a ser feliz",
   "id": "260719930611785"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-03-18T23:37:44+0000",
   "name": "Bernardita",
   "id": "1480890645464677"
  },
  {
   "category": "Professional sports team",
   "created_time": "2014-03-07T21:32:31+0000",
   "name": "Facu ledesma",
   "id": "414627398579431"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-03-07T16:54:08+0000",
   "name": "The Vis",
   "id": "754043891277599"
  },
  {
   "category": "City",
   "created_time": "2014-02-27T13:19:57+0000",
   "name": "Jun\u00edn, Buenos Aires",
   "category_list": [
    {
     "id": "224455390913969",
     "name": "City"
    }
   ],
   "id": "108378849192690"
  },
  {
   "category": "Community",
   "created_time": "2014-02-22T01:48:48+0000",
   "name": "Egoo lincoln",
   "category_list": [
    {
     "id": "110290705711626",
     "name": "Bar"
    }
   ],
   "id": "615927198434627"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-02-20T18:26:00+0000",
   "name": "Porta",
   "id": "13909772021"
  },
  {
   "category": "Just for fun",
   "created_time": "2014-02-18T21:35:44+0000",
   "name": "Crea Carteles",
   "id": "512968788736377"
  },
  {
   "category": "Local business",
   "created_time": "2014-02-14T13:49:19+0000",
   "name": "La pizzeria",
   "category_list": [
    {
     "id": "180256082015845",
     "name": "Pizza Place"
    }
   ],
   "id": "655803087785022"
  },
  {
   "category": "Local business",
   "created_time": "2014-02-13T15:03:42+0000",
   "name": "Egoo Lincoln",
   "id": "413359985405077"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-02-05T02:03:04+0000",
   "name": "Abel Pintos - Oficial",
   "id": "351648209572"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-02-05T01:23:13+0000",
   "name": "no te va gustar",
   "id": "106308365891"
  },
  {
   "category": "Community",
   "created_time": "2014-02-02T19:54:53+0000",
   "name": "El Noticiero De Los Pibes'' Washo.",
   "id": "652851261444065"
  },
  {
   "category": "Public figure",
   "created_time": "2014-01-31T00:08:01+0000",
   "name": "M\u018cxl \u00c7\u00e4Y\u00fan \u1edc",
   "id": "575198205899792"
  },
  {
   "category": "Community",
   "created_time": "2014-01-29T16:20:30+0000",
   "name": "Celos es normal",
   "category_list": [
    {
     "id": "272705352802676",
     "name": "Outdoors"
    }
   ],
   "id": "340874006017900"
  },
  {
   "category": "Company",
   "created_time": "2014-01-22T21:13:04+0000",
   "name": "Festival Colectivo Cultural",
   "id": "683718321679460"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-01-21T13:44:15+0000",
   "name": "Tan Bionica",
   "id": "28009034064"
  },
  {
   "category": "Cars",
   "created_time": "2014-01-14T12:32:07+0000",
   "name": "ODIO que me despierten cuando estaba so\u00f1ando algo lindo",
   "id": "48117822484"
  },
  {
   "category": "Community",
   "created_time": "2014-01-02T17:14:31+0000",
   "name": "Lincoln Denuncia",
   "id": "223873887772706"
  },
  {
   "category": "Song",
   "created_time": "2013-12-10T19:20:16+0000",
   "name": "DJ Remix PE-SR",
   "id": "383736475095604"
  },
  {
   "category": "Local business",
   "created_time": "2013-12-09T22:28:06+0000",
   "name": "Colegio Universitario Lincoln",
   "category_list": [
    {
     "id": "151676848220295",
     "name": "Education"
    }
   ],
   "id": "240203112745909"
  },
  {
   "category": "Community",
   "created_time": "2013-12-09T21:16:51+0000",
   "name": "Un Tom\u00f3grafo para nuestro Hospital",
   "id": "618635521529479"
  },
  {
   "category": "Community",
   "created_time": "2013-11-21T01:52:39+0000",
   "name": "A la mierda jaja",
   "id": "250010581819195"
  }
],
"Jorge Rodriguez": [
  {
   "category": "Community organization",
   "created_time": "2014-05-28T03:12:01+0000",
   "name": "Mil maneras de decirle sutilmente a alguien que no te gusta",
   "id": "636204299788610"
  },
  {
   "category": "Professional sports team",
   "created_time": "2014-05-02T00:22:56+0000",
   "name": "BOCA",
   "category_list": [
    {
     "id": "1801",
     "name": "Professional Sports Team"
    }
   ],
   "id": "114264528738492"
  },
  {
   "category": "Community",
   "created_time": "2014-02-13T01:21:46+0000",
   "name": "Hip\u00f3dromo de Lincoln fotograf\u00edas",
   "id": "195376183994226"
  },
  {
   "category": "Product/service",
   "created_time": "2013-04-28T19:34:45+0000",
   "name": "Samsung Mobile",
   "id": "114219621960016"
  },
  {
   "category": "Product/service",
   "created_time": "2013-03-16T15:24:29+0000",
   "name": "Mozilla Firefox",
   "id": "14696440021"
  },
  {
   "category": "Food/beverages",
   "created_time": "2013-03-14T00:08:13+0000",
   "name": "Cerveza Brahma",
   "id": "69004099657"
  },
  {
   "category": "Entertainment website",
   "created_time": "2013-03-04T02:27:37+0000",
   "name": "Ca\u00fa Ca\u00fa - MiXto",
   "id": "276098382433624"
  },
  {
   "category": "Society/culture website",
   "created_time": "2013-02-21T02:00:28+0000",
   "name": "Aun Sigooo Pensando En TI",
   "id": "101431640015012"
  },
  {
   "category": "Community",
   "created_time": "2013-01-17T00:10:34+0000",
   "name": "Nada es lo mismo sin Futbol",
   "id": "518822228157833"
  },
  {
   "category": "Website",
   "created_time": "2012-12-05T09:53:21+0000",
   "name": "Destander Internacional",
   "id": "282585698508345"
  },
  {
   "category": "Food/beverages",
   "created_time": "2011-11-18T18:16:26+0000",
   "name": "Quilmes Cerveza",
   "id": "127735990588679"
  }
],
"Karen Csr": [
  {
   "category": "App page",
   "created_time": "2014-08-08T20:10:16+0000",
   "name": "Facebook for Every Phone",
   "id": "331288023558058"
  },
  {
   "category": "Professional sports team",
   "created_time": "2014-06-22T17:21:02+0000",
   "name": "Boca Juniors",
   "id": "108179225873870"
  },
  {
   "category": "Website",
   "created_time": "2014-06-19T19:52:16+0000",
   "name": "Mis Carteles",
   "id": "478799118806621"
  },
  {
   "category": "Sports league",
   "created_time": "2014-06-02T19:41:31+0000",
   "name": "Pasion Xeneize",
   "id": "602688296504767"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-05-06T03:05:33+0000",
   "name": "Prince Royce",
   "id": "116842969002"
  },
  {
   "category": "Musician/band",
   "created_time": "2014-05-06T03:05:31+0000",
   "name": "Romeo Santos",
   "id": "117414898335812"
  },
  {
   "category": "Public figure",
   "created_time": "2014-02-13T19:15:06+0000",
   "name": "Cristian Gomez",
   "id": "565275260213609"
  },
  {
   "category": "Food/beverages",
   "created_time": "2014-01-25T01:36:34+0000",
   "name": "Tang Argentina",
   "id": "210285749089721"
  }
}

原帖地址:https://blog.csdn.net/guaguastd/article/details/38486199


为方便大家群策群力,创建了一个 Facebook Instant Game   交流群:814298516 欢迎同们加入交流开发和运营经验。

回复

使用道具 举报

0

主题

22

帖子

63

积分

注册会员

Rank: 2

积分
63
沙发
发表于 2018-12-17 11:39:45 | 只看该作者
大家看怎么样 我认为很好.
回复 支持 反对

使用道具 举报

0

主题

24

帖子

101

积分

注册会员

Rank: 2

积分
101
板凳
发表于 2019-3-21 05:45:06 | 只看该作者
2019年最新免费刷q币网址是:【http://qq2019.imotor.com 】——2019年唯一免费刷q币方法,目前只能通过手机APP下载软件来刷q币了,必须在自己手机自带的APP里面下载软件来刷q币。新的版本新的技术没有什么办不到的,只是不容易被发现罢了,
真是好东西,顶啊!
▁腾讯qq2018刷q币辅助▕刷q币教程◆最新免费怎么才能免费刷q币⊕▇刷q币方法◣刷q币是真的吗◎最新刷q币软件◣▉怎么刷q币▔qq刷q币软件★最新刷q币代码☆△刷q币软件免费版2018◣刷q币辅助▌免费刷q币软件■▽cf怎样刷q币▂免费刷q币代码▌刷q币是真的吗▅
回复 支持 反对

使用道具 举报

0

主题

9

帖子

47

积分

新手上路

Rank: 1

积分
47
地板
发表于 2020-4-10 16:19:22 | 只看该作者

因为在每次移动中都需要重新绘制方格和标记天津时时彩小蛇,果实,为了方便,将这几个方法放入同一个方法resetDraw()中。在按下按键后,首先判断按下的十一运夺金方向是否在小蛇当前移动的方向(snakeState.d)或其反方向上,假如是的话,不改变小蛇的幸运时时彩移动状态,否则调用对应方向上的方法,改变小蛇的方向。如果小蛇的下一步幸运飞艇会撞到墙壁或者自己的身体,则游戏失败,弹出game over的警告窗口,并无效化键盘事件


回复 支持 反对

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 立即注册

快速回复 返回顶部 返回列表