Birds can eat beans but the beans must be cooked first.
【Can Birds Eat Peanuts?】
Peanuts are rich in protein and vitamin E, they even have some “healthy” fats. Although birds can eat peanuts (cooked/roasted and no-salt), it is not recommended to feed too much to birds because peanuts contain aflatoxin. Eating too much aflatoxin can increase the incidence of liver cancer.