lib/bobot/graph_facebook.rb in bobot-4.5.0 vs lib/bobot/graph_facebook.rb in bobot-4.6.0
- old
+ new
@@ -1,10 +1,10 @@
require "typhoeus"
require "uri"
module Bobot
module GraphFacebook
- GRAPH_FB_URL = 'https://graph.facebook.com/v3.1'.freeze
+ GRAPH_FB_URL = 'https://graph.facebook.com/v3.2'.freeze
GRAPH_HEADERS = { Accept: "application/json", "Content-Type" => "application/json; charset=utf-8" }.freeze
module ClassMethods
def graph_get(path, query: {})
url = "#{GRAPH_FB_URL}#{path}".freeze