I'm using the twitter API, but when I post links they are showing up as text and not links. I haven't been able to find the documentation showing how to post a link that actually works.
相关问题
- Design RESTful service with multiple ids
- Axios OPTIONS instead of POST Request. Express Res
- Plain (non-HTML) error pages in REST api
- Laravel 5.1 MethodNotAllowedHttpException on store
- Google places autocomplete suggestion without coun
相关文章
- 我用scrapy写了一个蛮简单的爬虫怎么封装成一个api啊
- 后端给前端的API接口是怎么用代码写的
- Convert C# Object to Json Object
- Android camera2 API get focus distance in AF mode
- Got ActiveRecord::AssociationTypeMismatch on model
- Multiple parameters in AngularJS $resource GET
- Global Exception Handling in Jersey & Spring?
- Getting all listing images from an Etsy shop
If you don't keep the prefix (http://) and just post something like www.google.com, the link won't be picked up.
If the URL contains special characters you need encode it before posting to Twitter so it will be converted to a link: