They came here to ask neighbors to party as well as to have some talk with them.
They came here to ask neighbors to party as well as having some talk with them
They came here to ask neighbors to party, as well as having some talk with them.
Not only they came here to talk with neighbors, but also they invited them.
You can refer to this :) than those phrases. Same meaning :)
(They invited their neighbors to have a party and have some talk with them. )