LPS-48245 Read social request portletId from request. If empty, then keep old behavior.
LPS-48245 Source Formatting
LPS-48245 Source formatting - Use single if statement
LPS-48245 Source formatting
LPS-48245 DRY
LPS-48245 avoid chaining