Problem with Prime31 Social Networking plugin

Hi,

I’m having some problems with The Prime31 Social Networking plugin, specifically the Twitter implementation.
I contacted support, but they haven’t been able to reproduce, so I’m wondering if anyone here has any ideas.

The login works fine on most devices, however on my iPod Touch 4G (and on my customer’s - same device), we get this :

It’s the same build as on other devices, using the same Twitter keys… Any ideas?

Thanks!

Hi,

please make sure you copy the information from the App page on twitter. It could lead this error :

I use a global variable (bind to PlayerPrefs (bIsTwitter) to check if the user wants twitter func :

TwitterBinding.init( "xxxxxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" );
			if(StaticVariables.bIsTwitter  TwitterBinding.loggedInUsername() == "")
			{
				string username = TwitterBinding.loggedInUsername();	
				if(username == "")
					TwitterBinding.showOauthLoginDialog();
			}

Hope this helps.

change the title of this post. This is definitively not a Prime31 plugin problem :slight_smile:

Thanks for you reply.

It works on my ipad, and on my client’s ipad 2, so I’m quite sure I have the correct information in there. I also double-checked this a few times.
Also, the exact same code used to work before I upgraded to Unity 3.4, Xcode 4 and the latest version of the social networking plugin.

Well, not to be picky, and I appreciate any help, but the code above checks if loggedInUsername() is empty twice, and I have no need for storing it in playerprefs, I just do it after a button press - but that shouldn’t matter as far as I know.

It is a problem I am having with the Prime31 plugin, so I think the title is accurate. I’m not saying it is definitely a bug in the social networking plugin, it may be something silly that I am doing wrong (probably is), but I have no idea what.

Oh, I forgot some information.

Before, it was using xAuth instead of oAuth, and the error I was getting was “Failed to validate oauth signature and token” - but again only on iPod Touch 4g’s.
So I tried switching to oAuth, and get the error message above.
So it does seem like there’s something wrong with the twitter keys - but if that was the case, why does it work on an iPad and on an iPad 2, and even on an iPhone 4?

Seems really strange to me…

It turns out the date on my device was somehow two days ahead. Changing it solved the issue for me.

Hi, i only have one question.

Can i used this plugin to integrate the entire game with the facebook connect? use the id from each person with facebook and make play with these?

Thanks