# Facebook open graph

**URL:** <https://forum.bubble.io/t/facebook-open-graph/22950>\
**Category:** Plugins\
**Created:** [January 14, 2018, 12:07am UTC](https://forum.bubble.io/t/facebook-open-graph/22950 "2018-01-14T00:07:45Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![alimo5dec](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@alimo5dec](https://forum.bubble.io/u/alimo5dec)\
**Post date:** [January 14, 2018, 12:07am UTC](https://forum.bubble.io/t/facebook-open-graph/22950/1 "2018-01-14T00:07:45Z")

</div>

I am unable to set up facebook graph v2.11

 ![09](https://us1.discourse-cdn.com/bubble/original/3X/2/c/2c923e239f49d36db3828e8dc922165cfa5bfab3.jpg). What should go into the access token endpoint !

---

<div class="post-metadata">

**Author:** ![scott3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/scott3/32/18530_2.png) [@scott3](https://forum.bubble.io/u/scott3)\
**Post date:** [January 14, 2018, 1:56am UTC](https://forum.bubble.io/t/facebook-open-graph/22950/2 "2018-01-14T01:56:15Z")

</div>

Lost on this one too…

---

<div class="post-metadata">

**Author:** ![alimo5dec](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@alimo5dec](https://forum.bubble.io/u/alimo5dec)\
**Post date:** [January 14, 2018, 4:57pm UTC](https://forum.bubble.io/t/facebook-open-graph/22950/3 "2018-01-14T16:57:44Z")

</div>

and we not getting help from the guys that can?😟

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [January 14, 2018, 6:20pm UTC](https://forum.bubble.io/t/facebook-open-graph/22950/4 "2018-01-14T18:20:59Z")

</div>

Will have a look for you as soon as a I can.

---

<div class="post-metadata">

**Author:** ![alimo5dec](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@alimo5dec](https://forum.bubble.io/u/alimo5dec)\
**Post date:** [January 14, 2018, 11:04pm UTC](https://forum.bubble.io/t/facebook-open-graph/22950/5 "2018-01-14T23:04:06Z")

</div>

thank you @NigelG 😀

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [January 15, 2018, 7:39am UTC](https://forum.bubble.io/t/facebook-open-graph/22950/6 "2018-01-15T07:39:34Z")

</div>

Seems even when we use the same parameters we get different results.

So will set up a new FB App and Bubble page to see what happens. Bear with.

---

<div class="post-metadata">

**Author:** ![alimo5dec](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@alimo5dec](https://forum.bubble.io/u/alimo5dec)\
**Post date:** [January 15, 2018, 6:05pm UTC](https://forum.bubble.io/t/facebook-open-graph/22950/7 "2018-01-15T18:05:44Z")

</div>

Alright sir:grinning:

---

<div class="post-metadata">

**Author:** ![edd](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/edd/32/161_2.png) [@edd](https://forum.bubble.io/u/edd)\
**Post date:** [January 15, 2018, 6:15pm UTC](https://forum.bubble.io/t/facebook-open-graph/22950/8 "2018-01-15T18:15:22Z")

</div>

At the risk of being unhelpful (because I’m not going to be able to offer much additional help beyond this post), I was able to connect to Facebook Graph API with the following relatively simple settings on the Bubble side:

 ![Facebook Graph API call](https://us1.discourse-cdn.com/bubble/original/3X/4/0/40e4daa7f717cf3f9a3443cceb9e15a5e05bcf91.png)

… using only an APP ACCESS TOKEN from Facebook. See more here: [https://developers.facebook.com/docs/facebook-login/access-tokens/#apptokens](https://developers.facebook.com/docs/facebook-login/access-tokens/#apptokens)

In my case, I didn’t need user authentication because I’m just fetching public page posts. The point is … I just put `None or self-handled` into the Authentication dropdown in Bubble, and then just put the bearer token from Facebook into the Headers section of the specific call to Facebook.

Hope that helps. Sorry if it doesn’t; again, not sure I can be any more helpful than that.

-Ed

---

<div class="post-metadata">

**Author:** ![scott3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/scott3/32/18530_2.png) [@scott3](https://forum.bubble.io/u/scott3)\
**Post date:** [January 15, 2018, 6:26pm UTC](https://forum.bubble.io/t/facebook-open-graph/22950/9 "2018-01-15T18:26:57Z")

</div>

I got this to work last night with the access token and all, just started over again with a new app. I’m spending some time today to identify exactly why it works now, and what I was doing wrong before. Will report back when I have something conclusive, likely by end of day.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/a/5/a5f51f4afce08f91371866e15b14e733f1aa9c2a.jpeg)

---

<div class="post-metadata">

**Author:** ![alimo5dec](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@alimo5dec](https://forum.bubble.io/u/alimo5dec)\
**Post date:** [January 15, 2018, 7:06pm UTC](https://forum.bubble.io/t/facebook-open-graph/22950/10 "2018-01-15T19:06:36Z")

</div>

The app access token comes after the bearer? The part you marked red?

---

<div class="post-metadata">

**Author:** ![alimo5dec](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@alimo5dec](https://forum.bubble.io/u/alimo5dec)\
**Post date:** [January 15, 2018, 7:07pm UTC](https://forum.bubble.io/t/facebook-open-graph/22950/11 "2018-01-15T19:07:57Z")

</div>

OK then. Waiting for it. Mine isn’t still working though

---

<div class="post-metadata">

**Author:** ![edd](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/edd/32/161_2.png) [@edd](https://forum.bubble.io/u/edd)\
**Post date:** [January 15, 2018, 7:45pm UTC](https://forum.bubble.io/t/facebook-open-graph/22950/12 "2018-01-15T19:45:18Z")

</div>

The thing you’re putting in that box is the bearer token, which you get by first sending:

GET /oauth/access\_token  
?client\_id={app-id}  
&client\_secret={app-secret}  
&grant\_type=client\_credentials

… as described in the Facebook link I suggested above.

Once you get your access token and put it into Bubble as shown, I would think it would work.

---

<div class="post-metadata">

**Author:** ![edd](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/edd/32/161_2.png) [@edd](https://forum.bubble.io/u/edd)\
**Post date:** [January 15, 2018, 7:45pm UTC](https://forum.bubble.io/t/facebook-open-graph/22950/13 "2018-01-15T19:45:50Z")

</div>

And you can send that initial GET request via Postman to get the token.

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [January 15, 2018, 7:47pm UTC](https://forum.bubble.io/t/facebook-open-graph/22950/14 "2018-01-15T19:47:21Z")

</div>

Have just set up a new App and Bubble page.

Firstly, Bubble seems to now be doing something odd with the index page, like a redirect to the domain. I don’t think FB likes that.

So make sure your buttons are not on index.

In your FB App also go to Facebook Login under Products, and set up the redirect URIs …

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/9/1/91b8d54be011acea06ad79ca11bf5958c0fb913d.png)

---

<div class="post-metadata">

**Author:** ![alimo5dec](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@alimo5dec](https://forum.bubble.io/u/alimo5dec)\
**Post date:** [January 16, 2018, 12:47pm UTC](https://forum.bubble.io/t/facebook-open-graph/22950/15 "2018-01-16T12:47:45Z")

</div>

found it
