ねお風呂

なんか…こうあるだろ…そういうときようのだよ

API1.1でもP3:PeraPeraPrvを使う

最近、TwitterがAPI1.0を完全にクローズしてAPI1.1に以降していないクライアントソフトは軒並み使えなくなりました。

 

タイトルにあるP3:PeraPeraPrvもその一つなのですが実は簡単に使えるようにすることができます。

 

とりあえずDL

https://sites.google.com/site/peraperaprv/ja

 

DLしたらP3_Resourcesフォルダ中のAPIsフォルダを開いて

 

APL.xml ファイルをテキストエディタで開きます。

 

 その中身を下の内容に置き換える。

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">

<properties>

<comment>Service API set</comment>

<entry key="user_show">http://api.twitter.com/1.1/users/show.json</entry>

<entry key="direct_message">http://api.twitter.com/1.1/direct_messages.json</entry>

<entry key="direct_message_sent">http://api.twitter.com/1.1/direct_messages/sent.json</entry>

<entry key="favorites">http://api.twitter.com/1.1/favorites/list.json</entry>

<entry key="mentions">http://api.twitter.com/1.1/statuses/mentions_timeline.json</entry>

<entry key="update">http://api.twitter.com/1.1/statuses/update.json</entry>

<entry key="home_timeline">http://api.twitter.com/1.1/statuses/home_timeline.json</entry>

<entry key="favorites_crerate">http://api.twitter.com/1.1/favorites/create.json</entry>

<entry key="favorites_destroy">http://api.twitter.com/1.1/favorites/destroy.json</entry>

<entry key="followers">http://api.twitter.com/1.1/followers/ids.json</entry>

<entry key="friends">http://api.twitter.com/1.1/friends/ids.json</entry>

<entry key="retweet">http://api.twitter.com/1.1/statuses/retweets_of_me.json</entry>

<entry key="accesstoken">https://api.twitter.com/oauth/access_token</entry>

<entry key="bitly">http://api.j.mp/shorten?version=2.0.1&amp;format=json&amp;longUrl=</entry>

<entry key="flickr">http://www.flickr.com/services/rest?method=flickr.photos.getInfo&amp;format=json&amp;</entry>

<entry key="friendships_show">http://api.twitter.com/1.1/friendships/show.json</entry>

<entry key="update_profile">http://api.twitter.com/1.1/account/update_profile.json</entry>

<entry key="update_profile_iamge">http://api.twitter.com/1.1/account/update_profile_image.json</entry>

<entry key="userslookup">http://api.twitter.com/1.1/users/lookup.json</entry>

<entry key="request_token_url">https://api.twitter.com/oauth/request_token</entry>

</properties>

 

保存するときはUTF-8で。 

 

これで多分動きます。

 

 開発が終了していることもありますしあまりオススメしませんが

あとこの件について作者さんに問い合わせるのはやめましょう。