Nonlinear difference equations investigated via critical point methods