Can I avoid baking my Twitter API consumer secret into my iPhone app binary?

前端 未结 2 1606
天命终不由人
天命终不由人 2021-02-09 00:52

I\'d like to do OAuth for Twitter from an iPhone app. But doing so implies that I need to have my API secret alongside my API key baked into the application binary. This is obvi

2条回答
  •  遇见更好的自我
    2021-02-09 01:02

    Some put the key into a settings-type file that the application will read. Others store the key in a database file local to the app. Others store the key on their own server and the native app connects to the server to get the key and secret.

提交回复
热议问题