facebook-apps

Retrieve Parameter From Page Tab URL

谁说胖子不能爱 提交于 2019-12-23 02:49:04
问题 I have a facebook tab application that has an URL. I want to pass the URL some GET parameters. Normally this is how I do a signed request to get user data: if ($signed_request = parsePageSignedRequest()) { $config = array( 'appId' => $app_id, 'secret' => $app_secret, ); $facebook = new Facebook($config); $ret_obj = $facebook->api('/me', 'GET', array()); $theemail = $ret_obj['email']; $thename = $ret_obj['name']; $theusername = $ret_obj['username']; } I was wondering how to get the GET

Understanding “runwithfriends” facebook-app sample code

落花浮王杯 提交于 2019-12-23 02:05:24
问题 this is my first web-programming experience so I hope my questions doesn't sound very dumb. I have been stucked on this for many days. I am trying to understand a sample code: https://github.com/facebook/runwithfriends However I am not understanding very well how the information flow works and how can I modify that sample (i.e. how the code works). For example, in the following section of the code: class RecentRunsHandler(BaseHandler): """Show recent runs for the user and friends""" def get

Set “human” app name for facebook app

戏子无情 提交于 2019-12-23 00:50:40
问题 I have created a Facebook app that is accessible at https://apps.facebook.com/12345678 , but I only have a URL with a cryptic app id. Where can I set a name for the app so that I have a nice URL like https://apps.facebook.com/onthefarm ? Thank you! 回答1: Yes you can :) Go to https://developers.facebook.com/apps/{your app id}/summary Edit the "App Namespace" field. Save 来源: https://stackoverflow.com/questions/8718106/set-human-app-name-for-facebook-app

Can't find my app on facebook insights?

混江龙づ霸主 提交于 2019-12-22 18:09:38
问题 I'm running a site using social plugins, so I created a facebook app then I want to use facebook insight to connect my website and app (ps. I also add app_id or meta in header) but I can't find the app I create in the connect list does anyone has a clue what's going on?? 回答1: It appears to be a Facebook caching issue - the UI is simply not refreshing and providing the new app options. However you can still submit the request with the required app id manually. I used firebug to inject my new

How to find only facebook app installed friends? [closed]

僤鯓⒐⒋嵵緔 提交于 2019-12-22 10:52:52
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago . I am using an app on facebook, I want to find out list which includes only friends who installed same app in there facebook rather than the whole friend list. I am using graph api call 回答1: Making a Graph API call to: me/friends?fields=installed,name This will give you the entire list of friends

Are Facebook Messenger page-scoped IDs globally unique?

拜拜、爱过 提交于 2019-12-22 08:22:46
问题 I understand that the same user will have different page-scoped IDs (PSIDs) across different pages. But is it guaranteed that no two users will have the same PSID across different pages? For example, is it possible that user A has PSID 1234 while messaging page X, and user B has the same PSID 1234 when messaging page Y? Technically user A and user B would be differentiable even if they have the same PSID because they are messaging different pages. But can I assume that there will be no

Deauthorize page tab notification

谁都会走 提交于 2019-12-22 07:51:43
问题 Does anyone know if the deauthorize callback works for page tab applications? I've set this in the developer settings and it doesn't seem to work. The page in question never even gets touched. I have logging in place to see if the page is hit but nothing shows. Anyone else got this working? Thanks 回答1: Is the page being accessed? Check your log files to see if your callback has been hit. Last time I inspected our process, the signed_request value was not passed, instead the callback was still

Check if page tab app is still installed

[亡魂溺海] 提交于 2019-12-22 04:43:17
问题 What is the best way to check if a tab app is still installed on a specific Fan Page, using the graph api? The only way I can come up with is using, https://graph.facebook.com/page_id/tabs/app_id, and this will return the data for the given tab, if it is installed, but it appears a access_token is required. To use this method, I think, I would need to ask the user for not only the manage_pages permissions but also for the offline_access, then I could store the page_access_token and be able to

Setting up Facebook Login on localhost

强颜欢笑 提交于 2019-12-18 06:55:13
问题 I've been following the steps outlined here to create a Facebook App Login: http://developers.facebook.com/docs/howtos/login/server-side-login/ And am on Step 3. I'm setting this up on localhost for development and then I'll publish to Azure Websites with a different App ID. I'd like to have this working on localhost first though. (I haven't tried this with a non-localhost domain yet.) On my Facebook App configuration page I've set a couple relevant fields: Site URL: http:// localhost : 8052/

Need Help on OAuthException Code 2500

て烟熏妆下的殇ゞ 提交于 2019-12-17 18:43:21
问题 I am trying to develop an Facebook application (apps.facebook.com/some_app) using PHP where I need to present some information based on user's music interests. I found that its under "user_likes > games". My problems are as follows: To gain access, I have implemented the oauth dialog method as suggested in API in my index page. $auth_url = "http://www.facebook.com/dialog/oauth?client_id=" . $app_id . "&redirect_uri=" . urlencode($canvas_page) ."&scope=user_likes"; After successful