Netflix-Skunkworks / Scumblr

Web framework that allows performing periodic syncs of data sources and performing analysis on the identified results
Apache License 2.0
2.64k stars 319 forks source link

I'm not getting any results from Facebook search. Is it App ID and App Secret are still working? #224

Open loktay opened 6 years ago

sbehrens commented 6 years ago

Hi Loktay,

We don't use the Facebook search here so it's possible it's in an unstable state and/or the Facebook API has changed. It would be helpful if you can provide the following:

1.) Run the task 2.) cd into the scumblr directory and run:

Event.last(2)

3.) Share the output of that command

Can you also navigate to the Task edit page for that specific task via the UI and take a screenshot? Feel free to redact out search terms or keys if needed.

loktay commented 6 years ago

Hi @sbehrens,

Loading development environment (Rails 4.2.6)
[1] pry(main)> Event.last(2)
  Event Load (0.8ms)  SELECT  "events".* FROM "events"  ORDER BY "events"."id" DESC LIMIT 2
=> [#<Event:0x007f8531a178f0
  id: 10075,
  action: "Run",
  source: "Task Worker",
  details: nil,
  date: Wed, 03 Jan 2018 15:42:22 PST -08:00,
  user_id: nil,
  eventable_id: 31,
  created_at: Wed, 03 Jan 2018 15:42:22 PST -08:00,
  updated_at: Wed, 03 Jan 2018 15:42:22 PST -08:00,
  eventable_type: "Task">,
 #<Event:0x007f8531a17a30
  id: 10076,
  action: "Complete",
  source: "Task: Facebook Search ProjectSc",
  details: "Task completed in 0.159158027 seconds",
  date: Wed, 03 Jan 2018 15:42:22 PST -08:00,
  user_id: nil,
  eventable_id: 31,
  created_at: Wed, 03 Jan 2018 15:42:22 PST -08:00,
  updated_at: Wed, 03 Jan 2018 15:42:22 PST -08:00,
  eventable_type: "Task">]
loktay commented 6 years ago

screen shot 2018-01-03 at 3 46 34 pm

loktay commented 6 years ago

Hi @sbehrens ! Happy Friday! Can you please take a look the output?

sbehrens commented 6 years ago

Thanks @loktay, nothing is jumping out at me so something must have broken in the FB API. @sk3tch and I will discuss and see if we can track this down

loktay commented 6 years ago

Hi @sbehrens ! Thank you!
Also I have the same issue with eBay search. I checked the output and it looks the same. Do you have that issue too?

sbehrens commented 6 years ago

Hi @loktay,

Those are all legacy plugins (Marked as such in the documentation) which our team no longer uses. I'll have to stand up an environment and determine out what is broken. One thing you could provide would be any Events created after running those Tasks.

After running a task manually (such as the Facebook or eBay plugins) perform the following:

cd scumblr
rails c
> Event.last(3)

Grab that output and that may help me figure out what is happening.

-Scott

privateonly commented 5 years ago

Hi sbehrens, i am also facing same issue, can you please provide a solution.