Facebook API - How to call the Facebook API and get an OAuth Access Token

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ส.ค. 2024
  • Learn to use the Facebook API - How to call the Facebook API and get an OAuth Access Token. Worksheet: api-university...
    Facebook has a popular API. To use the API, you need to get an OAuth Access Token first. In this week's episode, I show you hands-on how to get both the OAuth token and how to call the API. Get the step-by-step worksheet: api-university...
    Learn about APIs and API Security in a more structured way, with step-by-step guides:
    🎥 Video Course on API Security with OAuth: api-university...
    🎥 Video Course on RESTful API Design: api-university...
    🎥 Video Courses on other API Topics: api-university...
    📗 Book on API Security with OAuth: api-university...
    📗 Book on RESTful API Design: api-university...
    📚 Books on other API Topics: api-university...
    👕 Get your "I ❤️ APIs" Shirt api-university...
    Subscribe and follow me on my journey and explore some great APIs. New episodes are airing 🗓️ each Wednesday 18:00 CEST (9:00 PDT)! Don't miss any upcoming episode and subscribe to the api-university channel.

ความคิดเห็น • 88

  • @Api-university
    @Api-university  4 ปีที่แล้ว +4

    Don't miss the chance to get the worksheet here: api-university.com/blog/api-usage/how-to-use-the-facebook-api-and-oauth/

  • @dontysk
    @dontysk 9 หลายเดือนก่อน +1

    It is incredible that the official documentation does not start explaining how to get the access token.

  • @parrisgjerde9212
    @parrisgjerde9212 3 ปีที่แล้ว +3

    Didn’t realize Liam Neeson did technology videos. kidding,... but there is a resemblance!😄 Great video!

  • @kid_kulafu_1727
    @kid_kulafu_1727 3 ปีที่แล้ว +1

    This is better than facebook documentation. Thank you sir

  • @jurijus01
    @jurijus01 3 ปีที่แล้ว +4

    Hello Matt! I relly love your humorous manner of presentation! :)) You saved hours of pain trying to make FB integration work! Viel dank !!

  • @vatsalmehta1600
    @vatsalmehta1600 2 ปีที่แล้ว

    Best video.. Was a One stop solution for me. Thank you very much for making this video.

  • @AbhimanyuSingh-br9yl
    @AbhimanyuSingh-br9yl 4 ปีที่แล้ว +4

    Thanks man. I have looking for this explanation for over a week.

    • @Api-university
      @Api-university  4 ปีที่แล้ว

      Thanks, check out my other videos as well th-cam.com/play/PL19JOifaOyAeifscOYwXJbkUGkeV2he4O.html

  • @llrl7379
    @llrl7379 8 หลายเดือนก่อน

    you saved my life

  • @mityamitchenko2297
    @mityamitchenko2297 3 ปีที่แล้ว +2

    Thanks a lot! Good explanation and stunning view out of the window!

  • @sutoraika6976
    @sutoraika6976 ปีที่แล้ว +1

    great video

  • @user-oz2gv1xv8m
    @user-oz2gv1xv8m ปีที่แล้ว +1

    Works perfectly. This tutorial is amazing. Thanks alot @Api-university

  • @farahbakkali8378
    @farahbakkali8378 2 ปีที่แล้ว +1

    Where can I find the worksheet Facebook I don't know how to extract it please answer me

  • @damaroro
    @damaroro 3 ปีที่แล้ว

    This is the next level of presentation

  • @tatendasithole2471
    @tatendasithole2471 ปีที่แล้ว

    Amazing video. You're an amazing creator and teacher.

  • @ivanabreu5010
    @ivanabreu5010 2 ปีที่แล้ว

    Increible!! la mejor explicación que he podido esuchar!! mil gracias por tu ayuda!!

  • @user-qf5xk6xl3k
    @user-qf5xk6xl3k 8 หลายเดือนก่อน

    Thank you. This video was very helpful

  • @AslamD
    @AslamD 3 ปีที่แล้ว

    Your method to teach Any API methods is very easy to understand comparing to follow the documentation. Last time I followed you video to implement Spotify API which worked perfectly.
    Now after struggling a lot with Facebook Graph API documentation, I am going to follow your steps. I believe the Auth Token last for 60 days so I have to implement some mechanism to refresh the token.

  • @abtf6615
    @abtf6615 2 ปีที่แล้ว

    Đỉnh cao của công nghệ

  • @apptest5737
    @apptest5737 3 ปีที่แล้ว

    Really good job!! Better than the documentation, with you its fully easy . Sorry for my english I'm french

  • @DainiusDainius
    @DainiusDainius ปีที่แล้ว

    Thank you very much and God bless you.

  • @destina1tvindia762
    @destina1tvindia762 ปีที่แล้ว

    Do you have any video for Facebook live api

  • @vimode8992
    @vimode8992 ปีที่แล้ว

    Do you know why I receive an error message when I tried to do the Token Endpoint?

  • @matheusduartegalvao
    @matheusduartegalvao 3 ปีที่แล้ว

    Thanks a lot! I was searching for this to starting using de conversions API.

    • @chapeiro
      @chapeiro 3 ปีที่แล้ว

      Fala Matheus! Teve sucesso na instalação da API de conversão? Estou em busca de uma alternativa para o Magento 1.

  • @vimode8992
    @vimode8992 ปีที่แล้ว

    Thank you for the video. Where can I get the state parameter? Can I use yours? Thanks!

    • @Api-university
      @Api-university  ปีที่แล้ว +1

      you can pick the value of the state parameter. feel free to use the same as me. Just make sure it comes back in the callback.

  • @aidanbenbow6682
    @aidanbenbow6682 11 หลายเดือนก่อน

    The curl command doesn't work for me. Any ideas?

  • @ItzSHLZ
    @ItzSHLZ 3 ปีที่แล้ว

    Am I doing something wrong? I clicked the link to get the worksheet like you have that you are pasting into. All I received was a cheat sheet with a very confusing graph. PLEASE HELP!!!

  • @sjain03
    @sjain03 3 ปีที่แล้ว

    how to resolve this ? "URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs."

  • @brisklearningsolutions450
    @brisklearningsolutions450 2 ปีที่แล้ว

    Brilliant, thanks a lot.

  • @alexpaveloiu7811
    @alexpaveloiu7811 3 ปีที่แล้ว +1

    I went to look at your video library: can't believe you know so much! I have one video I am looking for and can't find it. It's the reverse of this video: how to post on facebook from my site? i am sure the solution is in facebook graph, but i am completely new and i have no ideea how to do it. please help!

    • @Api-university
      @Api-university  3 ปีที่แล้ว +1

      Thanks, great suggestion for a future video!

  • @anshulsingh5245
    @anshulsingh5245 4 ปีที่แล้ว +1

    hey is there any method to access the information of any Facebook public page or user profile other than "me" via API call?

    • @Api-university
      @Api-university  4 ปีที่แล้ว

      Best to ask this question directly to the facebook developer portal.

  • @Graphstorm
    @Graphstorm 3 ปีที่แล้ว

    Hey there, getting reviews from Facebook would be awesome. Thank you :)

  • @thanhtranquangnam
    @thanhtranquangnam 2 ปีที่แล้ว

    can you guide how to use phone number to find a facebook account and return the id of that account. i tried to search through forgot password button and enter phone number search returns facebook user but there is no way to get id of facebook account there. I'm a newbie so looking forward to hearing from you

  • @sumittiwari9587
    @sumittiwari9587 3 ปีที่แล้ว

    it is really awesome explanation. Could you create a video to get and add audiences using business sdk

  • @hangc10
    @hangc10 2 ปีที่แล้ว

    can you do a api to show people who shared a post and also count how many times they shared the post?

  • @lucademarco5969
    @lucademarco5969 3 ปีที่แล้ว

    Hello! How do you cope with the fact that the access token, sooner or later is going to expire? Than,S in advance!

  • @gramajocristianismael282
    @gramajocristianismael282 3 ปีที่แล้ว

    Great explanation (and worksheet)!
    now I have to see how to get data from facebook public pages,
    because according to what I read the new versions need some kind of authorization (english is not my nativa languaje haha), thanks and greetings from Argentina.

    • @syrinehali4886
      @syrinehali4886 3 ปีที่แล้ว

      Hi I am looking for a way to get data from facebook public pages can you help me ?

    • @Api-university
      @Api-university  3 ปีที่แล้ว +1

      Glad it was helpful!

  • @AlThePal78
    @AlThePal78 2 ปีที่แล้ว

    what is the easiest way to transition this to mvc

  • @kensleylewis
    @kensleylewis 2 ปีที่แล้ว

    Does our app "need" to live on a secure connection (HTTPS), in order to flow with your guide on facebook API?

    • @Api-university
      @Api-university  2 ปีที่แล้ว

      You should do OAuth protected API stuff only via a secure channel (such as HTTPS)

  • @priyankasoni2643
    @priyankasoni2643 3 ปีที่แล้ว +1

    Hello sir nice vedio, I have done my integration it work fine
    Only one issue I am facing, when I call auth api and login with other Facebook account still it return old Facebook account data on which we have created app, can you please provide what mistake I have done

  • @MinuanoSam
    @MinuanoSam 3 ปีที่แล้ว +1

    Please could someone help me, when I have my app in dev mode, I can add permissions In Graph API, the access token and page tokens retain the permissions and app works perfectly. When I switch to Live and thereafter check boht the access and page tokens. The permissions are removed. How can I overcome this?

    • @carlogden
      @carlogden 3 ปีที่แล้ว

      Have you sent your app for review? If it uses permissions that need approving, it won't work until approved!

    • @ericgrayson5173
      @ericgrayson5173 3 ปีที่แล้ว

      Yes.. lasacr4ck on Instagram can help you.. He is reliable to his service..

  • @suleimanshah5865
    @suleimanshah5865 4 ปีที่แล้ว +1

    Thank You i was trying this from last week and now i'm fully understand how it's work not i just need to figure out how to get that access token in my app

  • @leopham3615
    @leopham3615 3 ปีที่แล้ว

    I can’t wait to try this out. Thanks so much!

  • @cedrickbabef1302
    @cedrickbabef1302 2 ปีที่แล้ว

    16:06 I am here :)

  • @arunodaykumar1273
    @arunodaykumar1273 3 ปีที่แล้ว

    I want to get the information of the 3rd party apps integrations the facebook user has made ...how can i get that from any type of API?

  • @janinecolumbres3163
    @janinecolumbres3163 3 ปีที่แล้ว

    can you make a video of how to get job applications responses through API?

    • @Api-university
      @Api-university  3 ปีที่แล้ว

      check www.linkedin.com/developers/

  • @iuriemuradu9468
    @iuriemuradu9468 3 ปีที่แล้ว

    It is really strange, I do all the steps but it says "App ID not valid"

  • @rahatullahansari2443
    @rahatullahansari2443 3 ปีที่แล้ว

    How to get friend list using Facebook api...?

  • @calixtus019
    @calixtus019 3 ปีที่แล้ว

    Is it possible to use that token in JWT?

    • @Api-university
      @Api-university  3 ปีที่แล้ว

      what happens when you put the token into a JWT debugger, such as jwt.io?

  • @davidsimpson5771
    @davidsimpson5771 3 ปีที่แล้ว

    Hi, I am looking fort some help with a few things. Are you available for private hire?

    • @Api-university
      @Api-university  3 ปีที่แล้ว

      Let's schedule a call: api-university.com/start/team/

  • @GauravAlkaSharma
    @GauravAlkaSharma 3 ปีที่แล้ว

    How can I get Third Party Page Likes Count using Facebook API

  • @ramata1161
    @ramata1161 3 ปีที่แล้ว

    What is the API to post content in FB page

    • @Api-university
      @Api-university  3 ปีที่แล้ว

      The API Dev Portal of facebook can give you the answer

  • @alexchavez-huerta8908
    @alexchavez-huerta8908 3 ปีที่แล้ว

    im not getting the worksheet. is it broken?

    • @Api-university
      @Api-university  3 ปีที่แล้ว

      My system has sent it out. please check all your inboxes, maybe it has been classified and autosorted.

  • @Soland_jara
    @Soland_jara 4 ปีที่แล้ว

    Text link ?

    • @Api-university
      @Api-university  4 ปีที่แล้ว

      Here is the link to the worksheet: api-university.com/blog/api-usage/how-to-use-the-facebook-api-and-oauth/

  • @mahboobking5623
    @mahboobking5623 3 ปีที่แล้ว +1

    Sir please open my account

  • @findenmakker
    @findenmakker ปีที่แล้ว

    uNFORTUNATELY THIS IS OUTDATED ?

  • @ryanwenchester264
    @ryanwenchester264 3 ปีที่แล้ว

    Security people are sad 😮

  • @wagnerfreitas9158
    @wagnerfreitas9158 3 ปีที่แล้ว

    Excelente explicação de como usar a API a facebook. Espero que em breve traga algo sobre o Instagram também.... Para obter os dados de marketing do usuário, que literatura o senhor me indica?
    (I'ḿ from Brasil, and a wrote "Amazing explanation abou Facebook API. I hope you show anything about Instagram too. To get User'ś Marketing data, what you recomend to me read? )