The length of a temporary block by Facebook depends on the severity of the violation and the user's history on Facebook. It has been observed that a temporary block may last as little as a few hours, but could also last up to 30 days. There is currently no way to view the duration of the block.