lib/fb_graph/application.rb in fb_graph-1.2.1 vs lib/fb_graph/application.rb in fb_graph-1.2.2
- old
+ new
@@ -43,10 +43,10 @@
# app = FbGraph::Application.new(APP_ID, :secret => APP_SECRET)
# app.subscriptions # get_access_token is called automatically
# # => Array of FbGraph::Subscription
def get_access_token(secret = nil)
self.secret ||= secret
- auth = FbGraph::Auth.new(self.identifier, self.secret)
+ auth = Auth.new(self.identifier, self.secret)
response_string = auth.client.request(:post, auth.client.access_token_url, {
:client_id => self.identifier,
:client_secret => self.secret,
:type => 'client_cred'
})
\ No newline at end of file