この種の機能を実現したいと思います。
クライアントが GET リクエストを行うと、
GET http://www.myserviceurl.com/rest/facebook/profile/me
から応答を得る
GET http://graph.facebook.com/profile/me
アプリケーション ロジックはすべての必要なパラメーターを追加するため、最終的な URL は次のようになります。
graph.facebook.com/profile/me?access_token=XXX
似ている、
POST myserviceurl.com/rest/twitter/statuses/update.json with post data status=Maybe%20he%27ll%20finally%20find%20his%20keys.%20%23peterfalk&trim_user=true&include_entities=true
->
POST api.twitter.com/1/statuses/update.json with POST data status=Maybe%20he%27ll%20finally%20find%20his%20keys.%20%23peterfalk&trim_user=true&include_entities=true
このようにして、apstraction のレイヤーを作成し、クライアントが同じ構造のプロバイダー REST URL を使用して REST サービスを呼び出せるようにします。
推奨されるアプローチは何ですか?