# GetFriendInfo is not in World of Warcraft Forever: write C_FriendList.GetFriendInfo

Forever 1.60.1 (70959), Interface 16001. An addon that calls `GetFriendInfo` stops at /reload with `attempt to call global 'GetFriendInfo' (a nil value)`. Write `C_FriendList.GetFriendInfo`; its arguments and returns may differ from the old GetFriendInfo, read them first. Page: https://wowaddons.gg/forever-api/C_FriendList.md

```lua
info = C_FriendList.GetFriendInfo(name)
```

May return nothing.

Arguments:
- `name`: cstring

Returns:
- `info`: FriendInfo

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
