Changeset 3f808ca for protocols


Ignore:
Timestamp:
2011-12-11T16:38:02Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d717020
Parents:
877686b
Message:

Support HTTP/1.1 redirect status codes and use HTTPS for OAuth setup. This
is required for identi.ca and really should be done for Twitter as well.
Twitter OAuth is still broken though, it seems to disagree about signatures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    r877686b r3f808ca  
    9393
    9494static const struct oauth_service twitter_oauth = {
    95         "http://api.twitter.com/oauth/request_token",
    96         "http://api.twitter.com/oauth/access_token",
     95        "https://api.twitter.com/oauth/request_token",
     96        "https://api.twitter.com/oauth/access_token",
    9797        "https://api.twitter.com/oauth/authorize",
    9898        .consumer_key = "xsDNKJuNZYkZyMcu914uEA",
     
    101101
    102102static const struct oauth_service identica_oauth = {
    103         "http://identi.ca/api/oauth/request_token",
    104         "http://identi.ca/api/oauth/access_token",
     103        "https://identi.ca/api/oauth/request_token",
     104        "https://identi.ca/api/oauth/access_token",
    105105        "https://identi.ca/api/oauth/authorize",
    106106        .consumer_key = "e147ff789fcbd8a5a07963afbb43f9da",
Note: See TracChangeset for help on using the changeset viewer.