Trying to “follow” someone on Twitter using new iOS 5 API, getting 406 return error. Why?

后端 未结 4 1252
死守一世寂寞
死守一世寂寞 2020-12-23 10:10

Trying to \"follow\" someone on Twitter using new iOS 5 API, getting 406 return error. Why?

Is my code correct? Need to find out why this isn\'t working....

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-23 10:43

    Found the answer to my own question... I changed the URL to https://api.twitter.com/1/friendships/create.json and it worked.

    Don't forget it's https, not just http.

提交回复
热议问题