From af4001624e80fc49ae33339a69972e75c4c2985e Mon Sep 17 00:00:00 2001 From: nov Date: Tue, 30 Jun 2020 13:53:03 +0900 Subject: [PATCH] use API v7 --- lib/fb_graph2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fb_graph2.rb b/lib/fb_graph2.rb index 7bdc4e3..facf1de 100644 --- a/lib/fb_graph2.rb +++ b/lib/fb_graph2.rb @@ -9,7 +9,7 @@ module FbGraph2 mattr_accessor :gem_version, :logger, :debugging, :_http_config_, :object_classes DEFAULT_ROOT_URL = 'https://graph.facebook.com' - DEFAULT_API_VERSION = 'v2.11' + DEFAULT_API_VERSION = 'v7.0' self.gem_version = File.read(File.join(__dir__, '../VERSION')).strip self.logger = Logger.new(STDOUT) self.logger.progname = 'FbGraph2'