Sign In Register

How can we help you today?

Start a new topic

TwitterConnectRequest().SetAccessSecret()

 Hello I have two questions.


1. I'm using Unity SDK and when calling TwitterConnectRequest(), would it be safe to use SetAccessSecret() method? ( as the code can be recompiled and the acess token and secret can be read by anyone).


2.I've tried setting the secret in "TwitterConnectRequest" cloud code as follows.


Spark.getData().accessToken="****";
Spark.getData().accessSecret="***";


But the document says "Attributes can be read, but not changed" so the above code doesn't work.


Is there any way to grab the request and change its attributes in cloud code?

1 Comment

Sorry, ignore/delete the above message. I was thinking acessToken/secret were my API consumer key/secret.

 

Login to post a comment