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

后端 未结 4 1218
死守一世寂寞
死守一世寂寞 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:46

    As twitter has updated their API to v1.1, the request should be made now using the URL below. Note that request should be with 'https://' and due to API v1.1 replace your 1 to 1.1 in your URL.

    https://api.twitter.com/1.1/friendships/create.json

提交回复
热议问题