Ben Tseitlin
  • Male
  • United States
  • Beginner
Share on Facebook MySpace

Ben Tseitlin's Discussions

Retrieving User ID
7 Replies

Hey everyone- I'm looking to use the Ning API in a very simple way.  I just need to get the current logged in user's ID so that I can use it to create a custom url link to their profile.I looked…Continue

Started this discussion. Last reply by Allyson Beckers Nov 19, 2010.

 

Ben Tseitlin's Page

Latest Activity

Phil McCluskey replied to Ben Tseitlin's discussion Retrieving User ID
"Hi Allyson,   Here's an ultra simple example:   <script type="text/javascript"> alert(ning.CurrentProfile.fullName); alert(ning.CurrentProfile.photoUrl); </script>   You should be able to prefill the form…"
Nov 18, 2010
Ben Tseitlin replied to Ben Tseitlin's discussion Retrieving User ID
"Sweet, thanks Phil.  This looks like it could work for me."
Nov 1, 2010
Phil McCluskey replied to Ben Tseitlin's discussion Retrieving User ID
"Hi Ben,   You can probably also just do this using some javascript.  If you view source on a network page and have a look at the ning js object that gets created, it contains a CurrentProfile object which has an id…"
Nov 1, 2010
Ben Tseitlin replied to Ben Tseitlin's discussion Retrieving User ID
"Thanks Devin! So the screen name is the one that is used in a user's profile URL?   Would this be a correct way to do it? var userid =  GET /User?author=<screenname>  "
Nov 1, 2010
Devin replied to Ben Tseitlin's discussion Retrieving User ID
"I've already filed a request for the Ning API to make it easier to find the User ID of the authenticated member.   The 'userid' variable you are setting via OpenSocial is called a 'screen name' in the Ning API and it is…"
Nov 1, 2010
Ben Tseitlin posted a discussion

Retrieving User ID

Hey everyone- I'm looking to use the Ning API in a very simple way.  I just need to get the current logged in user's ID so that I can use it to create a custom url link to their profile.I looked through some of the documentation and found this:var userid = response.get("oViewer").getData().getId();(…See More
Oct 30, 2010
Ben Tseitlin is now a member of Build
Oct 29, 2010

Profile Information

Programming Skill Level
Beginner
Website
http://cleanprogram.com

Comment Wall

  • No comments yet!

You need to be a member of Build to add comments!

Join Build

 
 
 

Blog Posts

Getting Started

Posted by Kyle Ford on October 13, 2010 at 8:00am 3 Comments

A Note on API Pricing

Posted by Phil McCluskey on October 1, 2010 at 8:55am 0 Comments

Welcome to Build!

Posted by Kyle Ford on September 30, 2010 at 8:30pm 1 Comment

Ning Status

© 2024   Created by Build Team.   Powered by

Badges  |  Report an Issue  |  Terms of Service