how to get consumerkey and consumersecretkey for youtube

221 views
Skip to first unread message

Chakradhar k

unread,
May 26, 2011, 4:53:04 AM5/26/11
to gdata-objec...@googlegroups.com
Hi Greg,


           I am developing an app using gdataoauth in iphone sdk. i follow the tutorial.  There clearly mentioned for google signin serviecs and non-google signin services.  But, now i want to integrate

youtube siginin using that. But , how can i get the cosumerkey and consumersecretkey. 



can u plz guide , is there another way or is it possible using this.





Thanks,

Chakradhar.

Abhishek chatterjee

unread,
May 26, 2011, 5:01:20 AM5/26/11
to gdata-objec...@googlegroups.com
Hello,
In order to integrate Youtube or any other Google service you dont need a consumer key or consumer secret key.You can directly build the app using the Gdata client.Go through the building process of Gdata client.
Thank you,
Abhishek Chatterjee

> --
> You received this message because you are subscribed to the Google Groups "Google Data APIs Objective-C Client Library Discussion" group.
> To post to this group, send email to gdata-objec...@googlegroups.com.
> To unsubscribe from this group, send email to gdata-objectivec-...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/gdata-objectivec-client?hl=en.

Chakradhar k

unread,
May 26, 2011, 5:08:34 AM5/26/11
to gdata-objec...@googlegroups.com
Hello,

       I have already integrated using this GdataOauth. It works fine.  But my problem is that , after the user authenticated , the switch will enable which i put

besides button.  it enables upto we are in that view. After we go back it does not save the user credentials  permanantly who are logged in ....




Thanks,

Chakradhar.

Abhishek chatterjee

unread,
May 26, 2011, 5:14:32 AM5/26/11
to gdata-objec...@googlegroups.com
Hello,
This seems that you need to handle that.Gdata library doesn't take care for that.And it is nothing to do with consumer key.

Thanks,
Abhishek Chatterjee

Greg Robbins

unread,
May 26, 2011, 2:34:25 PM5/26/11
to gdata-objec...@googlegroups.com
For OAuth 1 sign-in, Google services do not require a consumer key or secret. The OAuth library substitutes "anonymous" instead.

For OAuth 2 sign-in, Google lets developers create client ID and client secret strings for installed apps at the API Console, https://code.google.com/apis/console/

The current, top-of-trunk sources for the API library include the gtm-oauth2 library, which is recommended. Applications incorporating OAuth sign-in should use the top-of-trunk sources for the library and gtm-oauth2, not the older GDataOAuth classes. The CalendarSample and DocsSample applications demonstrate sign-in with gtm-oauth2.


Reply all
Reply to author
Forward
0 new messages