Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion trying to get facebook insight data
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tim Uckun  
View profile  
 More options Apr 19 2011, 4:41 am
From: Tim Uckun <timuc...@gmail.com>
Date: Tue, 19 Apr 2011 20:41:43 +1200
Local: Tues, Apr 19 2011 4:41 am
Subject: Re: trying to get facebook insight data

> Then I think instead using a user's access token,
> you might need to use the so called "secret_access_token"
> instead. I don't know where did Facebook document this,
> but say your application id is 123, then you might want to
> do this in rest-graph:

>    RestGraph.new.get("123/insights", {}, :secret => true)

> This way, rest-graph would try to use secret_access_token
> instead of the normal access token. You can take a look at
> your secret access token by calling RestGraph#secret_access_token.
> The definition is:

>    def secret_access_token
>      "#{app_id}|#{secret}"
>    end

> Many Facebook API needs this access token instead the
> normal one. I think where data you want to fetch is not
> related to any user but your applications, you'll need this.

I found a web site that says this

Obtaining the Authorization Code

To use the Graph API, you must obtain an access token with the
read_insights permission. There is an important authentication
difference between application insights and insights from pages or
external websites:

You can use either a user access token (on behalf of the application
owner) or an application access token (on behalf of the application
itself) to get insights about an application.
You can only use a user access token (on behalf of the page owner) to
get insights about a page or an external website.

As far as I can tell the method you outlined using app_id and secret
is to get an application access token but that won't give you
permission to access the insights. In order to get the insights I need
a user access token and it seems like you are saying there is no way
to get that without physical user involvement.

Am I reading that right? Surely there has to be a way to get that data
without having a user actually interact with a browser.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.