Code Monkey home page Code Monkey logo

Comments (7)

woxcab avatar woxcab commented on May 20, 2024 1

Added global searching.
Description: https://github.com/woxcab/vkrss#eng-global-search
Example:
index.php?global_search=query&count=150&access_token=XXXXXXXXX

from vkrss.

woxcab avatar woxcab commented on May 20, 2024

You can use already existing similar functionality — post filtering by regular expression.
https://github.com/woxcab/vkrss#eng-regex

from vkrss.

MurzNN avatar MurzNN commented on May 20, 2024

Thanks for quick reply, but does this work with global search? As I understand, now id is required field for query, but when I do a global search - I have no id of user or community.

from vkrss.

woxcab avatar woxcab commented on May 20, 2024

Script is oriented to work with concrete wall that's described by single profile/community ID.

VK API allows to use its own search algorithm for concrete wall: wall.search. But is's similar to implemented filtering. So include/exclude can be used for the recent wall posts.

VK API also allows to use global searching by newsfeed.search. But it doesn't return all matching posts — only some unspecified subset of posts that published by opened (for current user) communities/profiles on its opened (for current user) walls, without posts by non-owner users. This API method doesn't fully compatible with this script functionality.

from vkrss.

MurzNN avatar MurzNN commented on May 20, 2024

Yes, newsfeed.search method is exactly that we need, is it hard to implement support of this method in script?

from vkrss.

woxcab avatar woxcab commented on May 20, 2024

I think it isn't so difficult therefore it will be added.

from vkrss.

MurzNN avatar MurzNN commented on May 20, 2024

So quick! Thanks, I'll test it and report if found any problems.

from vkrss.

Related Issues (14)

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.