For more detail this asset from the Unity Asset Store: Click Here
This is a paid asset, but now you can download Easy Leaderboard (Facebook + PlayFab) for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Easy Leaderboard (Facebook & PlayFab) v2.0.1
“If possible, please buy the package to support the developer”
The purpose of Easy Leaderboard is to simplify the implementation of leaderboards in your game, utilizing two services that are much used by developers: Facebook and PlayFab.
Documentation | FAQ
Why using Easy Leaderboard?
• Quick implementation: create a worldwide leaderboard in your game in a matter of minutes;
• Picture: shows the profile picture of the players;
• Pagination/incremental search: optimized logic for retrieving PlayFab records in an incremental way;
• Flexible search: you define how many records are supposed to be retrieved on each increment;
• Unlimited statistics: handle as many PlayFab statistics as needed;
• UI-independent: the script has no dependency on UI components, which gives you extra flexibility and ease to adapt it to your game;
• Earn more players: spread your game with Facebook Share!