得到包含hashtag android facebook android的帖子

时间:2014-09-22 09:23:11

标签: android facebook facebook-graph-api

我正在尝试获取包含特定主题标签的帖子的json数据 例如,如果您转到此fb链接,您将收到包含主题标签的帖子 https://www.facebook.com/hashtag/tajmahal


我有各种各样的方法

  • graph.facebook.com/search?q=%23tajmahal&type=post&access_token= {ACCESS_TOKEN}

它为帖子搜索提供了已弃用","输入":" OAuthException "

  • graph.facebook.com/search?q=%23tajmahal&type=place&access_token= {ACCESS_TOKEN}

它给出了所有名字中都有tajmahal的地方



    "category": "Landmark",
    "category_list": [
        {
            "id": "209889829023118",
            "name": "Landmark"
        }
    ],
    "location": {
        "street": "",
        "city": "Agra",
        "state": "",
        "country": "India",
        "zip": "",
        "latitude": 27.174799,
        "longitude": 78.042111
    },
    "name": "Tajmahal",
    "id": "108571669173264"

},
{

    "category": "Local business",
    "category_list": [
        {
            "id": "165679780146824",
            "name": "Food & Restaurant"
        }
    ],
    "location": {
        "street": "agra",
        "city": "Agra",
        "state": "",
        "country": "India",
        "zip": "",
        "latitude": 27.192731328938,
        "longitude": 78.026342496684
    },
    "name": "Tajmahal Agra",
    "id": "339553856132817"

},
{

    "category": "Automobiles and parts",
    "category_list": [
        {
            "id": "149998721725634",
            "name": "Automotive Repair"
        }
    ],
    "location": {
        "street": "opposite to MARS Shopping, Shafi street, Rayyan Jadheedh",
        "city": "Al Rayyan",
        "state": "",
        "country": "Qatar",
        "zip": "001",
        "latitude": 25.2902476,
        "longitude": 51.4204253
    },
    "name": "Tajmahal automobiles",
    "id": "191178317741786"



 所以任何人都可以建议一种方法来获取Facebook上有某些标签的帖子?

1 个答案:

答案 0 :(得分:0)