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
Login procedure / Aggregation
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Phil DeFer  
View profile  
 More options Oct 13 2012, 12:53 am
From: Phil DeFer <ndeveloppeme...@gmail.com>
Date: Fri, 12 Oct 2012 21:53:52 -0700 (PDT)
Local: Sat, Oct 13 2012 12:53 am
Subject: Login procedure / Aggregation

Hello,

I just put up on one of my blogs a page displaying the contents of a 'topic'  
with the function $scoop->topic of the library https://github.com/vdemay/Scoopit-PHP

and it's ok.

But when i want use the function $scoop->compilation a $scoop->login action
is mandatory,So I add a  '$scoop->login' before and I am redirected to a page

 https://www.scoop.it/login?redirectUrl=%2Foauth%2Fauthorize%3Foauth_t......
where I have to manually identify (facebook/twitter/login...)

is there no way to login transparent manner ?

Note: once identified the rest works very well

Second question : I've set up for one of my clients a package provided by
scoop.it in which it is called a 'aggregation' function works very well,
is there a documented access to this function ?

Thanks

Phil


 
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.
Philippe Gassmann  
View profile  
 More options Oct 13 2012, 2:08 am
From: Philippe Gassmann <philippe.gassm...@scoop.it>
Date: Sat, 13 Oct 2012 08:08:40 +0200
Local: Sat, Oct 13 2012 2:08 am
Subject: Re: [Scoop.it API Talk] Login procedure / Aggregation

Hi Phil DeFer

2012/10/13 Phil DeFer <ndeveloppeme...@gmail.com>

Once you're logged in, save the content of the SessionTokenStore. Then you
can reuse the access token (they do not expire) directly in your code by
using a custom TokenStore when creating the ScoopIt Object.

class StaticTokenStore {
    // Store methods
        public function storeRequestToken($value){}
    public function storeAccessToken($value){}
    public function storeSecret($value){}
    public function storeVerifier($value){}
    // get methods
    public function getRequestToken(){return null;}
    public function getAccessToken(){return "YOUR ACCESS TOKEN";}
    public function getSecret(){return "THE TOKEN SECRET";}
    public function getVerifier(){return null;}
    // flush methods.
    public function flushRequestToken(){}
    public function flushAccessToken(){}
    public function flushSecret(){}
    public function flushVerifier(){}

}
> Note: once identified the rest works very well

> Second question : I've set up for one of my clients a package provided by
> scoop.it in which it is called a 'aggregation' function works very well,
> is there a documented access to this function ?

This function is not documented because its access is currently restricted.

Best,
--
Philippe - The Scoop.it Team


 
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.
Phil DeFer  
View profile  
 More options Oct 13 2012, 4:41 am
From: Phil DeFer <ndeveloppeme...@gmail.com>
Date: Sat, 13 Oct 2012 01:41:34 -0700 (PDT)
Local: Sat, Oct 13 2012 4:41 am
Subject: Re: [Scoop.it API Talk] Login procedure / Aggregation

Thks for your answer :)

Something like that ? :

$scoop_accessToken="O.........OA";
$mySessionTokenStore=new SessionTokenStore();
$mySessionTokenStore->storeAccessToken($scoop_accessToken);
$scoop = new ScoopIt($mySessionTokenStore, $localUrl, $consumerKey,
$consumerSecret);

Best,

Le samedi 13 octobre 2012 08:08:41 UTC+2, Philippe Gassmann a écrit :


 
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.
Philippe Gassmann  
View profile  
 More options Oct 13 2012, 5:11 am
From: Philippe Gassmann <philippe.gassm...@scoop.it>
Date: Sat, 13 Oct 2012 11:11:08 +0200
Local: Sat, Oct 13 2012 5:11 am
Subject: Re: [Scoop.it API Talk] Login procedure / Aggregation

You also need to set the token secret.

P.

Le samedi 13 octobre 2012, Phil DeFer a écrit :

--
Philippe - The Scoop.it Team

 
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.
Phil DeFer  
View profile  
 More options Oct 13 2012, 5:36 am
From: Phil DeFer <ndeveloppeme...@gmail.com>
Date: Sat, 13 Oct 2012 02:36:54 -0700 (PDT)
Local: Sat, Oct 13 2012 5:36 am
Subject: Re: [Scoop.it API Talk] Login procedure / Aggregation

Argh,

$scoop_accessToken="O.........OA";
$maSessionTokenStore=new SessionTokenStore();
$maSessionTokenStore->storeAccessToken($scoop_accessToken);
$scoop = new ScoopIt($maSessionTokenStore, $localUrl, $consumerKey,
$consumerSecret);
$topic = $scoop->compilation("rss", 00, $nbPostsPerPage, $page);

and $topic is good without filling the fields token secret, this is a fluke,
a bug or something else ?

Phil

Le samedi 13 octobre 2012 11:11:09 UTC+2, Philippe Gassmann a écrit :


 
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.
Philippe Gassmann  
View profile  
 More options Oct 13 2012, 1:27 pm
From: Philippe Gassmann <philippe.gassm...@scoop.it>
Date: Sat, 13 Oct 2012 19:27:07 +0200
Local: Sat, Oct 13 2012 1:27 pm
Subject: Re: [Scoop.it API Talk] Login procedure / Aggregation

As you are using the session token store, the secret might still be stored
in the session, this is why this appears to work.

Try removing the cookies of your browser: this shouldn't work anymore
without setting the secret.

P.

Le samedi 13 octobre 2012, Phil DeFer a écrit :

  Pièce jointe001.png
17K Download

 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »