Questions tagged [facebook-apps]

Apps on Facebook are web apps that are loaded in the context of Facebook.

Apps on Facebook are web apps that are loaded in the context of Facebook in what we refer to as a Canvas Page. You can build your app using any language or tool chain that supports web programming, such as , , or .

1342 questions
164
votes
6 answers

Where does one set the Oauth Redirect URI for Facebook apps?

We are being asked to set the OAuth redirect URI for Facebook (as shown below) in the instructions to set up Google Firebase to use Facebook login. We clicked in every menu for our app. Where is it? Could it be called something different? From the…
Praxiteles
  • 5,802
  • 9
  • 47
  • 78
50
votes
5 answers

Get Facebook User ID from app-scoped User ID

With the upgrade from Facebook Graph API v1.0 to v2.0, Facebook is using "App-scoped User IDs", so I cannot see the "original" user ID inside my apps anymore. I always used the Real Time Updates and graph API calls like…
kolli
  • 1,260
  • 2
  • 13
  • 23
33
votes
6 answers

how to get email id of Facebook user using javascript sdk

I am using JavaScript API to create my app for Facebook. The problem is, it's returning email = undefined. I don't know why? And if I use Facebook login/logout button on my app then the alert shows correct email id of the user but I don't want to…
user958414
  • 385
  • 1
  • 5
  • 10
25
votes
11 answers

Getting list of Facebook friends with latest API

I'm using the most recent version of the Facebook SDK (which lets to connect to something called the 'graph API' though I'm not sure). I've adapted Facebook's example code to let me connect to Facebook and that works... but I can't get a list of my…
Eric
  • 5,104
  • 10
  • 41
  • 70
22
votes
5 answers

"Invalid platform app" error using Instagram Basic Display API

I am trying to use Instagram Basic display API but when I post the authorization code to get the access token I keep getting the following error {"error_type": "OAuthException", "code": 400, "error_message": "Invalid platform app"} I am following…
19
votes
1 answer

Facebook App Type: Which one to pick for mobile AND web?

In the Facebook App Settings ☞ Advanced ☞ Authentication I can pick "Web" or "Native/Desktop" as App Type. The info bubble says: Only select Native/Desktop if you are a Native iOS or Android app, device, or Desktop app Actually I am none of…
18
votes
2 answers

Use the Facebook API in a Google Apps Script web app?

I'm trying to create a Facebook app using a Google Apps Script as web app, as the back-end. The only Facebook API that seems applicable is the Javascript SDK, but I can't even get that one to work. The current problem I'm having is that the Facebook…
Protector one
  • 6,926
  • 5
  • 62
  • 86
17
votes
2 answers

Does the Facebook API allow for automated changes to old post visibility?

In other words, is there an API that would allow a Facebook user to change their posts (through a 3rd party app), which are older than a specified date, from being visible to the list "Friends" to another one such as "Only Me" or "Close…
14
votes
2 answers

Connect web app with existing Page for Facebook API

I have created a web app that authenticates users on our page and I'd like to connect it with an existing Page, but cannot find that option. I only see "Create Page" in Advanced options, but that's not really what I need. I figured since it is…
Alexander Filatov
  • 359
  • 1
  • 3
  • 14
13
votes
5 answers

Add custom name, caption, image, description to new facebook share dialog or custom stories not taking them from og meta

I'm just working on a quiz script. Thus I want to share the results of an quiz and not the og meta data. I know it is possible to use the old FB.ui feed action do add a custom name, caption, description and message than sharing an url. E.g.: …
13
votes
12 answers

Facebook One or more of the given URLs is not allowed by the App's settings

Result in console: Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's…
jasin_89
  • 1,993
  • 7
  • 30
  • 41
12
votes
5 answers

How to test Messenger Bots offline? Local webhooks

I'm starting with Messenger Platform API. I want to make simple Messenger Chatbot. Here is tutorial I follow. As you see, to start I need to set up webhook (step 2). So basically: web server that provides some REST API and posts some data back. The…
Piotrek
  • 10,919
  • 18
  • 73
  • 136
11
votes
2 answers

"fb://" url scheme - official or not?

Some dev blogs have published information about the "fb://" url scheme for opening various views in the Facebook iPhone App. No matter how much I've searched, I haven't found one word from any official Facebook source about this. Since the…
10
votes
2 answers

Adding new developer to sandbox enabled application says 'pending'

Adding new developer to a sandbox enabled application displays 'pending' next to the invited Facebook user and the user never receives a confirmation email or anything which allows him to confirm adding himself as developer. Has anyone had this…
Martin Asenov
  • 1,288
  • 2
  • 20
  • 38
10
votes
1 answer

What do green/gray check mark icons mean in Facebook App Dashboard?

In Facebook App Dashboard ( https://developers.facebook.com/apps/##########/ ) under Products I see 'Facebook Login' and 'Analytics' and green or gray check mark icons next to them. What do these icons mean? [Edit] The App is live. Login…
Vasiliy Zverev
  • 622
  • 5
  • 10
1
2 3
89 90