newsfeedSearch function

Returns search results by statuses

Returns search results by statuses

newsfeedSearch( q = "", extended = "", count = "", latitude = "", longitude = "", start_time = "", end_time = "", start_from = "", fields = "", v = getAPIVersion() )

Arguments

  • q: Search query string (e.g., New Year).
  • extended: 1 — to return additional information about the user or community that placed the post
  • count: Number of posts to return
  • latitude: Geographical latitude point (in degrees, -90 to 90) within which to search
  • longitude: Geographical longitude point (in degrees, -180 to 180) within which to search
  • start_time: Earliest timestamp (in Unix time) of a news item to return. By default, 24 hours ago
  • end_time: Latest timestamp (in Unix time) of a news item to return. By default, the current time
  • start_from: String, accessible for versions from 5.13
  • fields: Additional fields of profiles and communities to return
  • v: Version of API
  • Maintainer: Dmitriy Sorokin
  • License: GPL-3
  • Last published: 2020-09-29