GithubHelp home page GithubHelp logo

Like Post API gives error about vino HOT 8 CLOSED

starlock avatar starlock commented on July 30, 2024
Like Post API gives error

from vino.

Comments (8)

hult avatar hult commented on July 30, 2024

Hi,

Given this

import vine
v = vine.Vine()
v.login(username, password)

I can do this

v._call("posts/1046181520647561216/likes", params={"page": None, "size": None})["data"]

And receive a list of likes for that post. It'd be easy enough to bake into a method, and I'd be happy to accept a pull request for it. :)

from vino.

harry225 avatar harry225 commented on July 30, 2024

Hey hult

Thanks for replying me. But I don't want all likes of particular video but I want to implement functionality, from where user can like vine video from my iOS app. so I need API for this.

Thanks,

from vino.

sandippatel87 avatar sandippatel87 commented on July 30, 2024

Hi,

Mail me your exact requirement on [email protected] I have
solution for that.

On Mon, Oct 6, 2014 at 8:43 PM, harry225 [email protected] wrote:

Hey hult

Thanks for replying me. But I don't want all likes of particular video but
I want to implement functionality, from where user can like vine video from
my iOS app. so I need API for this.

Thanks,


Reply to this email directly or view it on GitHub
#10 (comment).

from vino.

hult avatar hult commented on July 30, 2024

@harry225 This is a Python library for the Vine API, hardly something you can use from an iOS app.

from vino.

harry225 avatar harry225 commented on July 30, 2024

@hult Is there any API for like video from my app in iOS?

from vino.

segalinc avatar segalinc commented on July 30, 2024

What is the difference between count and size fields in the popular['data'] keys?
where popular=v._call("timelines/popular")

from vino.

hult avatar hult commented on July 30, 2024

In all lists, size is the number of items you requested per page (seems to default for 20, and actual number of items returned may be lower than this), and count is the total number of items there are.

So when I do popular=v._call("timelines/popular"), I get

popular['data']['count']  # There are 100 popular items
popular['data']['size']  # You requested the first 20
len(popular['data']['records'])  # Vine returned 18 items

If you want more items, use the page parameter.

from vino.

segalinc avatar segalinc commented on July 30, 2024

thanks, that is what I was thinking too :)

from vino.

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.