added facebook and twitter apis