2016-06-27 7 views
0

2015年前私はDrupal Feeds経由でinstagram-content(画像、好きな、コメントなど)をインポートするdrupal 7でWebサイトを作成し始めました。すべてがfindeを処理しましたが、プロジェクトは停止しました。Drupal 7のフィード、instagram( "public_content")のoauthの許可エラー。

もう一度やり直すようですが、突然インポートがもう機能していません。私はdidntの

{"meta": {"error_type": "OAuthPermissionsException", "code": 400, "error_message": "This request requires scope=public_content, but this access token is not authorized with this scope. The user must re-authorize your application with scope=public_content to be granted this permissions."}}

は以前「public_content」を送信しなければならなかったので、私はちょうど「基本」-scopeアクセスを送っていた:私は常に、次のエラーを取得します。そして、私が言ったように、すべてがうまくいった。 oauth-Module内の "public_content"と "basic"のスコープをフィード用に挿入しました。しかし、上記のエラーメッセージが表示されます。

これに関するヒントはありますか?事前との点で

おかげで、 のFab

+0

を解決します。 –

答えて

1

This is due to a Instagram Platfrom Update

あなたは女子が指摘したようpublic_contentスコープを追加する必要があります - そしてまた、あなたが設定ページであなたの認証トークンを更新する必要があります。

あなたは行くのが良いでしょう。 次のコードを使用instagram_social_feed.module 機能に:ここ

0

はソリューションですinstagram_social_feed_settings()

if (variable_get('instagram_social_feed_client_id', '') != '' && variable_get('instagram_social_feed_redirect_uri', '') != '') { 
     $form['authenticate'] = array( 
     '#markup' => l(t('Click here to authenticate via Instagram and create an access token'), 
     'https://api.instagram.com/oauth/authorize/?client_id=' . variable_get('instagram_social_feed_client_id') . '&redirect_uri=' . variable_get('instagram_social_feed_redirect_uri') . '&response_type=code&scope=public_content' 
     ) 
    ); 
    } 

は、これは私がどのようにあなたがそれを解決したのを知って興味を持ってissus

関連する問題