Hi
Page Scoped IDs are different to Facebook User Ids by design. So this hack might stop working soon. What is more if you have read page inbox permission you can match message mid with the inbox one and get to the user Id but it is not very clear if that goes against the policies. You can read more here https://medium.com/p/a9c458b2277c/