Fixing social networking error for iOS