+++ access token คืออะไรใน facebook ++++
😋 ปกติ facebook เปิดให้เว็บ (รวมทั้งแอพ) ที่เราเขียนขึ้น
สามารถใช้ระบบ login ของ facebook ได้
ทำให้เว็บนั้นได้สิทธิเข้าถึงข้อมูลส่วนตัวของ user นั้นๆ บน facebook
....
Continue Reading+++ What is access token on Facebook ++++
😋 Facebook is usually open for web (including apps) that we write up.
Facebook login system can be used
Make that web access to user's personal information on Facebook.
.
And in many sites, we must have seen.
Just have an account on Facebook, you can log in.
No need to waste time. Fill out a new subscription.
:
In this post will quote
Using Facebook Login
Behind that success, Facebook will give away access token
So that any web can manage user login
:
Before talking about access token, let me go back to the age of 2534
When "Timberners-Lee" delivered the world's first website.
It's a common thing that human beings use to be.
:
❣ but my weaknesses.... is in the heart
Hey, it's not the weaknesses of the website.
Well it uses HTTP potocol
Which is stateless. Don't remember any status.
The meaning is that Server is very short of memory. Alzheimer's disease.
When it gets request from browser
I don't remember where it came from???
Who sent it, I can't remember anymore!!!!!
:
🤔 to solve this cuddle nha technically
He will give you a server to send session id (or session token)
Which session id is something we can't read and long
It will be sent to browser. Keep this in the cookie.
.
.. Wrong is not that cookie.. but cookies are text
Server will send session id to browser
Keep the value in cookies (keep text on browser side)
:
Programming time on server side
Like PHP when using session _ start ();
Will tell browser to collect session id in text photos such as
PHPSESSID=tqb4s5q7k25234eabbvs11dp02
(session id is a random code)
:
But if it's another language, it may be seen in other words.
E.g. JSSIONID (JAVA EE), PHPSESSID (PHP), and ASPSESSIONID (Microsoft ASP).
.
😉 Even here session id... may think it's a ID code.
:
From now on when users click on what on the web page
Browser will be kind.
Secretly sending this session id to server automatically
Make the server recover from Alzheimer's.
... I remember where the request sent this... yay yay
.
So if the request sent in
It has the same session id
It's considered the same friends.
(Computer vocabulary says these request is in the same SESSION)
.
What if it's not the same session id
It's considered that request is not the same people.
:
👉 Benefits of session id
Will be used in conjunction with login / logout mechanism
1) When user name XXX comes in, there will be a session id.
2) When another user name YY does login, there will be a session id as a different ID.
3) When both users do logout, it will expire session id.
:
Question if we went to wash all the cookies in browser what would happen?
- answer for session id will be gone.
- So who secretly login is holding this web? What is that... huhu
- I have to logout automatically for new login... So sad. Haha.
(server doesn't remember us anymore
Because browser doesn't send session id)
:
Session id sounds like good
😨 but using user / password to login will have disadvantage such as
1) Easy to hacker to sneak in session
To wear sesion id (Cross-Site Request Forgery: CSRF)
... Technically, let's not talk about it. Read it on the
2) It is a burden for server to remember the session id. What rights you have and remember other information of user etc.
3) If you want to give the same user, login different devices such as
Web is fine. Mobile phone is good... It will be more difficult. (I have to copy session)
4) and other disadvantage not mentioned
:
😘 but he has a technique to solve the way.
.
Well, use what's called "acces token"
To get access token
I have to login with user / password to exchange it.
... We have to stand in the cat before we get access token.
Then we can use it instead of login
.
Keep us from feeding user / password often
And each user will get access token. Different look alike.
When it's time for user to do logout, access token will expire immediately.
:
😙 Here access token may compare like a key
Or maybe you can see it as a ticket or a pass... It's up to the imagination.
Difference from session id is
1) access token will not be kept in cookies
2) access token will collect information that can be revealed.
e.g. user _ id, rights, expiration date
(Not a burden for server to remember these information)
:
If you use access token with login mechanism, you will see the advantages like
1) Prevent hacker from using session by Cross-Site Request Forgery (CSRF)
2) Can login from mobile phone and just use the same user.
Just giving away access token... It's like Facebook.
(Not stored in browser cookies)
3) The server can leave a hassle login / logout duty... Throw it to authenticate service outside.
4) Server doesn't need to take care of user information.
:
😀 Cut back to see login mechanism with facebook user / password
The concept is as shown in the photo that I posted. (as an example of php)
Simple summary
- user time login
- It will sneak a switch to Facebook to do login instead.
- Then Facebook will throw back access token to our web
- Then user will use it as a pass. No need to login again.
:
There are many types of access token of Facebook such as
-User Access Token
- App Access Token
- Page Access Token
-Client Token
Each type has different rights. I can't ask for deep.
:
👉 session id and access token all this story
It's a sweet, fragrant hacker. I like it very much.
If they can steal, they can wear a login user.
Then hacker will get all rights like user... done here
.
Except we logout
To make session id or access token expire
Then the hacker will be out of bogs.
:
In the user corner. Just login.
Don't mind access token behind the scenes
But if it's a #programmer, you need to be extra mindful.
Because even four feet know that the philosopher knows.
The biggest giant. Big brother like Facebook.
Still missed it. Let access token out so that it's a big news.
.
👌 So, programming
Let's be mindful about access token. Don't fall off.
Be safe from hakcker to the best
Good luck to all of you.
:
:
Written by Thai programmer thai programmer
:
+++++++++++++
Reference
1) https://developers.facebook.com/docs/php/howto/example_facebook_login?locale=th_TH
2) https://developers.facebook.com/docs/facebook-login/access-tokens?locale=th_THTranslated
同時也有1部Youtube影片,追蹤數超過23萬的網紅SOSHI Net,也在其Youtube影片中提到,—Information— ◆Resource ・Nike News - The Evolution Of Visible Air →http://news.nike.com/news/the-evolution-of-visible-air ・Nike News - Reintroducing ...
「php date now」的推薦目錄:
- 關於php date now 在 โปรแกรมเมอร์ไทย Thai programmer Facebook 的最佳解答
- 關於php date now 在 Amber Chia Facebook 的精選貼文
- 關於php date now 在 Shian WeiXian Facebook 的最佳貼文
- 關於php date now 在 SOSHI Net Youtube 的最佳貼文
- 關於php date now 在 NOW() function in PHP - Stack Overflow 的評價
- 關於php date now 在 How To Get Current Date in PHP - YouTube 的評價
- 關於php date now 在 jenssegers/date - GitHub 的評價
- 關於php date now 在 Online Portal of Amin Exam (Deptt. of Revenue and ... - Bcece 的評價
php date now 在 Amber Chia Facebook 的精選貼文
Audition for "Miss Talent International Competition 2018" now open for applications. 🤩
Want to show your talent? Or want to be the next online influencer? Winners can get attractive Cash & Prizes worth RM200,000. Pls also tag and share with your friends who deserve to win. If they are chosen as finalists, the nominator will receive RM500 28Mall.com shopping voucher (for each finalists, so they more you refer, the more you get) 😉
Date: 14 Mar (Wed) 2.30 - 5PM
Venue: MyTOWN Shopping Centre
You can apply online or come to audition above. ❤️
Apply by 12 Mar at http://28mall.com/mctalent/miss-talent-international-competition-malaysia2018.php
For more info go www.FB.com/MissChineseTalentInternationalMalaysia
php date now 在 Shian WeiXian Facebook 的最佳貼文
赶快报名参加,跟我一起为慈善而跑~我们到时见!! :)
The dateline is approaching . hurry up ! Register now !
报名截止日期就快到了!
还没报名的你,赶紧报名参加吧!
别再错过了~
Shian would like to invite you to join the “O’Sweet Days Charity Run” that organize by 16 Navigators –Yayasan Nanyang Press,we hope that everyone can contribute to Dream House For The Hidden Stars while joining the charity run.
Shian 戴伟贤 吁大家一起参与由南洋报业基金 16 Navigators 主办的 “O’ Sweet Days” 慈善义跑,希望大家参与义跑运动的同时,也能为【16导航】星儿筑梦园筹款。
Date 日期: 10/07/2016 (Sunday)
Arrival 报到时间: 6.30am
Flag Off Time 开跑时间: 7am
Starting Point 起跑点: Car Park, Nanyang Siang Pau 南洋商报总社停车场
Address 地址: No. 1, Jalan SS7/2, 47301 Petaling Jaya, Selangor, Malaysia
Category组别:
Open Group公开组:
= 6KM
= RM70/ pax位
= Register in Group of 4pax to get special rate at RM240 / group
4人一组报名以享有每组RM240的特别优惠
Family Group家庭组(max 4 pax/限4人):
= 3KM
= RM240/ group组
Online Registration网上报名:
http://yayasan-nanyang.org/…/for…/published/sweetrun2016.php
Payment method付款方式:
Please bank in your donations to Yayasan Nanyang Press (OCBC Bank: 101-108445-4). You can fax your bank-in details and personal details to 03-76508627, or e-mail tonyfound@nanyang.com.my. Alternatively, you can post your cheque or wang pos to Yayasan Nanyang Press (No 1, Jalan SS7/2, 47301 Petaling Jaya, Selangor). If you have any enquiries, please do not hesitate to contact us at 03-76508651 / 694 / 675 / 669 or visit our website at www.yayasan-nanyang.org.
请将您的善款汇至 YAYASAN NANYANG PRESS (OCBC Bank: 101-108445-4),然后再将汇款与个人资料传真到 03-76508627,或电邮至 nyfound@nanyang.com.my。您也可以选择邮寄支票或 Wang Pos 到南洋报业基金 (No 1, Jalan SS7/2, 47301 Petaling Jaya, Selangor)。欢迎拨打03-76508651 / 694 / 675 / 669 或 012-4993775。
For More Information 欲知更多详情
Tel: 03-7650 8651 /
012-4993775 YuYin
016-2475591 Yun
016-6851857 HueyEng
Fax: 03-7650 8627
Email: nyfound@nanyang.com.my
php date now 在 SOSHI Net Youtube 的最佳貼文
—Information—
◆Resource
・Nike News - The Evolution Of Visible Air
→http://news.nike.com/news/the-evolution-of-visible-air
・Nike News - Reintroducing the Nike Tailwind
→http://news.nike.com/news/reintroducing-the-nike-tailwind
・Nike News - Nike Shox BB4
→http://news.nike.com/news/nike-shox-bb4
・ナイキ エア マックス 95のデザイン誕生まで. Nike+ SNKRS JP
→https://www.nike.com/jp/launch/t/behind-design-air-max-95
・Nike News - Air Max Day Collection Featuring Nike Air VaporMax
→http://news.nike.com/news/air-max-day-collection
・Nike News - The Italian Connection: “La Silver” and the Making of an Icon
→http://news.nike.com/news/air-max-97-italy
・Nike News - Fresh Air from Oregon
→http://news.nike.com/news/nike-air-manufacturing-innovation-facility
・ナイキ エア ヴェイパーマックス 'Pure Platinum'. Nike+ SNKRS JP
→https://www.nike.com/jp/launch/t/air-vapormax-pure-platinum
・Nike News - Nike VaporMax for COMME des GARÇONS
→http://news.nike.com/news/nike-vapormax-for-comme-des-garcons
・HOUYHNHNM
→http://hynm-editor.blog.houyhnhnm.jp/entry/2015/03/13/201808
→http://www.houyhnhnm.jp/feature/010831.html
・SNEAKERHEROES
→http://sneakerheroes.net/2015/03/air-maxとエアバッグ/
・エキサイトニュース
→http://www.excite.co.jp/News/lifestyle/20140816/Roomie_195432.html
・FEEL-GOOD LIFESTYLE MAGAZINE
→http://fashionmarketingjournal.com/2015/03/air-max-day.html
・HYPEBEAST. JP
→https://hypebeast.com/jp/2015/3/nike-highlights-the-evolution-of-visible-air
・Sneaker News
→http://sneakernews.com/tag/air-max-day/
→http://sneakernews.com/2010/02/25/history-of-nike-air/2/
・Sneaker History
→http://sneakerhistory.com/2015/01/the-father-of-nike-air-marion-franklin-rudy/
・Anthony Quintano Flickr
→https://www.flickr.com/photos/quintanomedia/
・Shop412
→http://shopfouronetwo.blogspot.jp/2012/02/nike-vntg-tailwind.html
・Sole Collector
→https://solecollector.com/news/2012/01/nike-air-tailwind-79-quickstrike-now-available
→https://solecollector.com/news/2017/02/og-silver-nike-air-max-97-2017-release-date
→https://solecollector.com/news/2017/03/nike-sneakeasy-air-max-day-2017
・Designmagazine
→http://www.designmagazine.es/abstract-la-nueva-serie-de-diseno-de-netflix/
・SNEAKERS ADDICT™
→https://sneakersaddict.com/en/annonce-sadp-special-air-max-day-2-47299
・Third Looks
→http://www.thirdlooks.com/2013/07/crooked-tongues-on-the-history-of-the-air-max-1/
・The 5 to 9 Life
→http://www.the5to9life.com/2014/03/nike-air-max-day/
・Fresh sneakers and vintage trainers. IN SNEAKERS WE TRUST
→http://only-sneakers.ru/category/nike-vintage/page/6/
・Pro:Direct Select
→http://www.prodirectselect.com/responsive/nike/collection/nike-air-max-day-shoes-clothing.aspx
・Sneaker Freaker
→https://www.sneakerfreaker.com/sneakers/behind-design-nikes-2017-air-max-1-retro/
→https://www.sneakerfreaker.com/features/nike-air-max-reverse-evolution-2015-to-1985/
・EYESCREAM.JP
→http://eyescream.jp/tyo/feature/my-airmax-90/
→http://eyescream.jp/tyo/feature/shigeyukikunii-x-sergiolozano/2/
・EU Kicks
→https://www.eukicks.com/nike-air-max-180-og-ultramarine/
・Flickr Hive Mind
→https://hiveminer.com/Tags/airmaxst,nikeair/Interesting
・timbertooth Flickr
→https://www.flickr.com/photos/buttatooth/
・warpweb
→http://www.warpweb.jp/fashion/news/brand/19131.php
・Complex
→http://www.complex.com/sneakers/2016/12/nike-air-max-97-history/
・Creative Review
→https://www.creativereview.co.uk/drawing-on-nike-air/
・Sneakerpedia
→https://blog.sneakerpedia.com/2012/02/07/sneaker-spotlight-nike-air-max-360/
・Highsnobiety
→http://www.highsnobiety.com/2015/03/16/nike-air-max-guide/
・Air Max Day Astronaut11 – Fubiz Media
→http://www.fubiz.net/2014/04/10/air-max-day-astronaut/air-max-day-astronaut11/
———————————————————————————————————————
☆チャンネル登録はこちら↓
■SOSHI-Net
http://www.youtube.com/user/SOSHInetCH?sub_confirmaition=1
■お仕事関連の依頼は下記メールアドレスまでお願い致します。
[email protected]
☆Twitter↓
https://twitter.com/soshi_muzic
☆Facebookページ↓
https://www.facebook.com/soshi.net.jp
☆instagram↓
https://instagram.com/SOSHI_MUZIC/
☆UUUM↓
http://www.uuum.jp
◆本動画内の音楽についてはスペースシャワーミュージックの許可を頂いております。
RUN AND GUN feat. LEON a.k.a. 獅子, / サイプレス上野とロベルト吉野
------------------------------------------------------------------------------
楽曲提供:Production Music by http://www.epidemicsound.com
------------------------------------------------------------------------------
php date now 在 How To Get Current Date in PHP - YouTube 的推薦與評價
How do I get the current date and time in PHPHow to Get Current Date and Time in PHPHow to Get Current ... ... <看更多>
php date now 在 jenssegers/date - GitHub 的推薦與評價
This date library extends Carbon with multi-language support. Methods such as format , diffForHumans , parse , createFromFormat and the new timespan , will now ... ... <看更多>
php date now 在 NOW() function in PHP - Stack Overflow 的推薦與評價
... <看更多>
相關內容