question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

media.like method arguments

See original GitHub issue

Hi. I am getting ban when i am trying to like any post.

Here is the code image

I tryed to set module_name as 'profile', but then i’ve got this image

So what mean moduleInfo and d parameters?

Proxy: enabled, Version: “instagram-private-api”: “^1.14.0”

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
bl9lcommented, Aug 28, 2019

@ZackNeyland Thank you. I have already seen this. This is an explanation of the arguments. But there is not a word about behavior. I believe that I get banned due to improper behavior. Therefore, I need to model the behavior of the application.

1reaction
brendonpaganocommented, Aug 22, 2019

I like media with this function:

const likeMedia = (media) => {
    return ig.media.like({
      mediaId: media.id,
      d: 1,
      moduleInfo: { module_name: 'profile' },
    });
  };

With ig being an instantiated IgApiClient with a signed in user inside it’s state.

It works, but I’d really like to know what the moduleInfo parameter is used for, and what impact does d makes on liking.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Evaluating Online Information: Logical Fallacies - Guides
Like lateral reading and identifying fake news, identifying logical fallacies is another method we can use to determine whether online ...
Read more >
Method Parameters - C# Reference - Microsoft Learn
In this article. In C#, arguments can be passed to parameters either by value or by reference. Remember that C# types can be...
Read more >
Parameters and Arguments – Programming Fundamentals
A parameter is a special kind of variable used in a function to refer to one of the pieces of data provided as...
Read more >
Toulmin Argument - Purdue OWL
Toulmin, the Toulmin method is a style of argumentation that breaks arguments down into six component parts: claim, grounds, warrant, qualifier, rebuttal, and ......
Read more >
Method arguments - Unit Testing in C#
When configuring method calls, it's important to set proper expectations on the incoming arguments. Developers can set expectations on incoming parameters for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found