GithubHelp home page GithubHelp logo

Comments (5)

seregazhuk avatar seregazhuk commented on July 25, 2024

You can check if user exists in your followers:

foreach($bot->pinners->followers('yourUserName') as $follower)
{
    // ...
}

from php-pinterest-bot.

hhitch avatar hhitch commented on July 25, 2024

I was looking for the same answer but it seems like that's an awful lot of followers to iterate through in order to find out if someone is following you or not - it could take a half hour if the account has a lot of followers. Is there an easier way to do it by any chance?

from php-pinterest-bot.

seregazhuk avatar seregazhuk commented on July 25, 2024

@hhitch I see. Yes, it looks weird :( Can you see in the browser on the user's page that he or she follows you? If not, it is impossible to implement this in bot.

from php-pinterest-bot.

hhitch avatar hhitch commented on July 25, 2024

good question, to be honest I'm not sure if they show that the way Twitter does. On Pinterest on the person's following page you would show up but I guess the order depends on how long ago that person followed you - they seem to list in cronological order. I see you labelled it with easy pick - I hope it is! Thanks man - great lib :)

from php-pinterest-bot.

seregazhuk avatar seregazhuk commented on July 25, 2024

@hhitch actually it is impossible to get such information as a single request :( You have to manually loop through all the followers.
P.S. if you will find where it is available on the site, then I think it will be possible to implement in bot.

from php-pinterest-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.