Want a quick start to using the Facebook JavaScript SDK on your website? Watch this tutorial, and by the end, you’ll understand all the basics and even how to test and debug on your own computer!
Read more on my blog post:
0:00 – Intro
0:50 – Facebook App settings
2:28 – Begin a new project in Visual Studio for testing
4:53 – Facebook SDK JavaScript code snippet
6:56 – window.fbAsyncInit function
7:36 – Facebook Share button
10:12 – FB.init function
12:31 – Like or Send buttons
13:26 – Callbacks from FB.ui
15:55 – Facebook Login
18:40 – Sign out of your app to test your login flow
21:42 – Requesting and handling scopes or permissions
23:48 – Login popup blocked
24:45 – Add a clickable login button
26:30 – Make an API call via FB.api
28:18 – Include Facebook-supported and styled login buttons
Nguồn: https://docuquangphat.com/
Xem thêm bài viết khác: https://docuquangphat.com/giai-tri/
Xem thêm Bài Viết:
- 1 phút để lấy lại mật khẩu Facebook khi không có Email và số điện thoại
- #26 HIEN NGUYEN ACNE | Acne blackheads bumps on a perennial acne face
- Chênh vênh | LOVEBUS | Năm 3 | Tập 124 | 120411
- Nhìn lại buổi điều trần của ông chủ Facebook Mark Zuckerberg – Tin Tức VTV24
- Facebook marketing 4.0 – Hướng Dẫn Xây Dựng Hệ Thống Bán Hàng Online Tự Động A-Z | Nguyễn Tất Kiểm
hi Washam. In My case the js SDK is loaded but still i am getting the error "Uncaught ReferenceError: FB is not defined" in
FB.init(
{
'appId': '14866XXXXXXX',
'cookie': true,
'xfbml' : true,
'version': 'v4.0'
}
) which is inisde window.fbAsyncInit = function() {} kindly help me
How do you generate a valid OAuth Redirect URIs if you were to put this in production?
Hey, thanks! I have a question I got an issue when I click on share I got this "Can't Load URL: The domain of this URL isn't included in the app's domains" I think it is something to do with configuration, can you please help me?
Thanks so much for taking the time to make this video. I needed to learn this and you made it very easy. Literally made my Sunday. I was spending so much time trying to figure this stuff out through documentation.
is there a way for this plugin to only show when a user is logged in on fb and won't show when logged out?
FB is not defined inside the addEventListener.
with trawlimgweb.com too
Almost perfect. I can't see. Very good explanation 🙂
Clear explanations, timestamps in description? You got a like, sir
can't find Solution explorer in visual studio code
Tks so much