facebook-apps

Facebook fan page app pass string to app_data and retrieve

ぃ、小莉子 提交于 2019-12-05 08:07:10
问题 Hi i have a multiple page facebook fan page app in asp.net c#. how do i set and retrieve that app_data querystring? is this part of the signedrequest or the actual url of the fan page? will there be cross domian issues in getting this in safari and ie? i can get the signed_request using the following: if (!string.IsNullOrEmpty(signedRequest)) { dynamic SignedRequestData; var DecodedSignedRequest = FacebookWebContext.Current.SignedRequest.Data; SignedRequestData = DecodedSignedRequest so

Check if page tab app is still installed

核能气质少年 提交于 2019-12-05 05:52:20
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 use it later for sole purpose of checking if the app has been removed? It seems odd that this wouldn

What's the difference between a Facebook app and a tab?

梦想与她 提交于 2019-12-05 05:36:49
I want to add a link to my Facebook page that will open new information within my page. Not a website, but information from a scoring program my bowlers use. I'm not a programmer by any means and have no programmer on staff I am trying to teach myself these things as I go along. First of all, I have no idea if what I want to add is called a "tab" or an "app." I can't really seem to find a good explanation as to what the difference is. They both kind of sound the same to me. I've tried to figure out how to add both and have found a lot of great websites and information on Facebook that kind of

Why is the first request to a Facebook IFrame App Canvas Page a POST request?

血红的双手。 提交于 2019-12-05 04:26:20
I noticed when I set up my first FB app today (an iframe app accessed within facebook) that all the requests made to it via facebook are HTTP POSTs rather than GET requests. Is there any reason for this? What if I wanted to implement HTTP caching? I'm new to developing on the FB platform, forgive me if this is an obvious question but I've googled and can't find the answer. Facebook POSTs to the initial page in order to pass along the signed request that includes potentially important information for the application. 来源: https://stackoverflow.com/questions/9050230/why-is-the-first-request-to-a

Can't get access token for a facebook page for an application that has all the right permissions

早过忘川 提交于 2019-12-04 18:22:51
SO community, I am stuck in my attempt to have an application post automatically to my Facebook page. These are the steps I took: A) I authorized my application for all my facebook pages and granted permissions offline_access, publish_stream and manage_pages using https://www.facebook.com/dialog/oauth?client_id=<app_id>&redirect_uri=<url>&scope=read_stream,publish_stream,manage_pages,offline_access,publish_actions B) I requested the access token for the application with those permissions https://graph.facebook.com/oauth/access_token?grant_type=client_credentials&client_id=<app_id>&client

Facebook Open Graph API - action-type & object-type of another application (foursquare)

偶尔善良 提交于 2019-12-04 12:47:19
问题 I am trying to retrieve a user's foursquare checkin data that is published using the open graph to Facebook. I am generally having trouble finding information (namespace, action-types and object-types) about an application that I do not own. So far my application has successfully asked the user for (what I believe are) the appropriate permissions to access data that they have submitted to the foursquare FB application: user_actions:playfoursquare I found 'playfoursquare' from the url when I

How to verify a users facebook id when making ajax posts to php in facebook app

十年热恋 提交于 2019-12-04 06:49:26
问题 I am looking for a way to verify a users facebook id when posting user specific data using ajax. I want to be able to verify that a facebook user id is correct when posting data using ajax. The problem being, that if I post the facebook id as part of my ajax data, it can be edited in the javascript. I could make a graph call on the server side, but these are really slow, so I want to keep graph calls to a minimum. Preferably only calling it at the beginning. Can any suggest an efficient

Facebook fan page app pass string to app_data and retrieve

爱⌒轻易说出口 提交于 2019-12-03 21:52:22
Hi i have a multiple page facebook fan page app in asp.net c#. how do i set and retrieve that app_data querystring? is this part of the signedrequest or the actual url of the fan page? will there be cross domian issues in getting this in safari and ie? i can get the signed_request using the following: if (!string.IsNullOrEmpty(signedRequest)) { dynamic SignedRequestData; var DecodedSignedRequest = FacebookWebContext.Current.SignedRequest.Data; SignedRequestData = DecodedSignedRequest so basically on the first page i want to get the signed_reqeuest using the above and then append this to the

Facebook app settings on PhoneGap application

蹲街弑〆低调 提交于 2019-12-03 13:02:32
I have a phonegap application that uses the main facebook-plugin for connecting. I'm also using the phonegap build to directly get the apk/ipa without generating an android/ios project. Inside the facebook for developers, however, I have to complete some settings for my application that seem to require more than the simple phonegap build. I saw some tutorial in generating the hash key for an android app, but, what should I complete into the "Class Name" field(the activity that facebook will launch) since I don't have any class in my javascript-phonegap code? I have provided screenshots of the

Fetch Email Id and name of the user who commented in my facebook group or page

孤街醉人 提交于 2019-12-02 18:51:31
问题 I have a Facebook app which has Facebook login as a product. My requirement is to fetch the comments on my posts in group/page and view the email and name of the user who has commented. I'm using graph API to fetch the comment from a post with {post-id}/comments Further more I can fetch the user from each comment by {comment-id}?fields=from although this works when a user has given permission to my app. I'm unable to get the email of the user from the above endpoint. Also how can I mandate