facebook graph api v2.0 - App asking about itself with an app token -
is there app token equivalent "/me" alias? in other words, there way application can ask data without having hardcode application id in "/{app-id}" request? essentially, want app id , could extract app token, token supposed opaque , string manipulation extraction seems hokey. before hokey thing, wondering if there's better way application ask itself.
/app
shortcut 'current app' , work user access token, page access token or app access token
example:
https://graph.facebook.com/v2.0/app?access_token=<app access token>
response:
{ "category": "utilities", "daily_active_users": "0", "daily_active_users_rank": 1079202, "icon_url": "https://fbstatic-a.akamaihd.net/rsrc.php/v2/ye/r/7sq7wkjhi_5.png", "link": "https://www.facebook.com/apps/application.php?id=[snipped]", "logo_url": "https://fbcdn-photos-c-a.akamaihd.net/hphotos-ak-xpa1/t39.2081-0/p75x75/[snipped].png", "mobile_web_url": "http://www[snipped]", "monthly_active_users": "1", "monthly_active_users_rank": 1208403, "name": "test app", "subcategory": "other", "weekly_active_users": "1", "id": "[snipped]" }
Comments
Post a Comment