What I need is a social media stream with posts with the Hashtag mnbasel form Instagram, Facebook and Twitter. I couldn’t find any good tutorial. Hopefully someone can tell me what I miss or lead me to a tutorial.

I signed in to Instagram as a developer and got my Access Token using Client ID and Client Secret.

Then I created a Vue component with this script:

 module.exports = {
  name: 'socialstream',
  data: function () {
    return {
      instagram: []
  mounted () {
  methods: {
    getEntries () {
        .then(response => {
          this.instagram = response.data.data

What I get from this is the following error message:

Uncaught (in promise) Error: Request failed with status code 400

And this is the Result I get when I paste the URL in the Browser:

"code": 400,
"error_type": "OAuthPermissionsException",
"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."

I also installed the OAuth Plugin from Dukt and configured Instagram. Not sure if I need that and how to connect this information with the Vue component.


It looks like one of two things:

Its possible that you are not actually injecting your accesstokem with the following string


I believe it should be :


If you still get the oauth error, you may need to ensure that your access token has the correct scope in instagrams dev

  • Dear Brett, sorry for not responding to your answer. I solved it with a plugin and forgot about my question. Thanks a lot anyway! Cheers – user2190590 Jul 24 '18 at 13:47
  • Dear user2190590, could you please outline the solution that has worked for you? (You can do so either in form of an answer, or an update to the question itself.) This would help others who come across a similar challenge. Cheers! – Avant la lettre Jan 31 '19 at 8:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.