No, hedgehogs don't get lonely...even in the wild we're solitary creatures and don't need other hedgehog's company. 2 males will kill each other as you probably know, but 2 females can SOMETIMES get along...we don't need another female's company, though.
Like everyone's saying, hedgies don't seem to get lonely and need to live with other hedgies.
But they do know who their special human is/humans are. And they notice when somebody other than their special human is holding them or taking care of them - they behave differently. Mine will walk from other people to me. And decline to eat her kibbles the first night she is with her hedgie-sitter.
Yea like one two months ago me and my family went to the carribean and our pet sitter (weve known her and trust her) she also takes care of the horses and other animals But I told her Peanut likes to come out everynight and play so We left and then about 2 days after we got there we got a call saying Peanut just ignores her and just curls up in a ball and hisses at her Peanut doesent do that to me anymore I said then she said and he isnt eating or drinking.. I started to get concerned so I asked her if he was eating and drinking yesterday she said.. yes im like did you have him out yesterday and she said no soI think The more Peanut saw her the more he missed me and wanted me to come home! (Hedgies arent stupid!)