Roflare allows you to interact with Roblox's web API in a variety of ways. A few examples are:
-
[✅]
Fetch information about an experience -
[✅]
Fetch information about a user -
[✅]
Manage account
Roflare provides secure access to authentication-required features without ever asking for your password. Our login process uses ROBLOX's quick login system, keeping your credentials safe while enabling full API functionality.
#npm
npm i roflare
# yarn
yarn add roflare
To learn more about Roflare, visit the documentation
import * as Roflare from 'roflare'
const userId = 80254
const friendList = await Roflare.GetUserFriendList(userId)
// [
// {
// "id": 1617749303,
// "name": "bk52540",
// "displayName": "BKmusic"
// },
// ...
// ]
// Send friend request to all user in friendList
friendList.forEach(user => {
await Roflare.AddFriend(user.id)
console.log(`Sent friend request: ${Roflare.ShortenUserUrl(user.id))}`)
})