Twitter and Facebook Integration

Hi,

I’ve been searching the forums for information regarding Unity’s Twitter and Facebook API integration.

What I want to do is relatively simple (I believe): All I want to do is tweet / post an update with “I’ve just scored 42 points in game XYZ! - <link to App Store / Marketplace page>”

But the information I’ve found is… Vague, to say the least:

  1. http://forum.unity3d.com/threads/31992-twitter-integration-(again) (This presents a JS code which post the information to Twitter non-encrypted, not sure if that’s a problem, though…)

  2. http://forum.unity3d.com/threads/83906-integrating-facebook-and-twitter-using-javascript (This is for facebook, but involves editing code in XCode, which I’d like to avoid if possible :))

So here’s my questions:

  • Are there any code examples / plugins (even if paid) that would help me achieve Twitter / FB integration?
  • Should I be concerned about security and data privacy using method 1? From what I can see I think the answer is “Yes”, but I just wanted to make sure if somebody already used this method and had any problems.

Thanks in advance!

Jay_Santos

IIRC there’s a package for this on the asset store.

For some reason I completely forgot the Asset Store…

Nabbed a Twitter integration app for free and a FB one for 20 USD.

Thanks AngryAnt!

i believe facebook has some developer information on this very topic if you look around in the dev area.