Closed ghost closed 12 years ago
Is that really a security issue? The follow button on the alpha site has a "data-user-id" attribute.
I still need to add the wrappers for all of the following/followers calls. Once those are there, if you're only dealing with a persons followers it might be easy to mine through that response for usernames on the backend. I don't think there is a specific call though
There's not. Maybe worth an Issue over at the api-spec repo?
On Tue, Aug 14, 2012 at 3:30 PM, hxf148 notifications@github.com wrote:
Is there currently an API method I am not seeing or undocumented that makes it available to get a User ID from the Username? I don't really want to expose the id for internal app links.
— Reply to this email directly or view it on GitHubhttps://github.com/jdolitsky/AppDotNetPHP/issues/2.
Ralf Rottmann | CTO
e: ralf.rottmann@grandcentrix.net p: +49 221 677 860 20
Wir sind umgezogen – neue Anschrift!
grandcentrix GmbH Schanzenstrasse 6-20 51063 Köln, Deutschland
phone: +49 221 677 860 0 fax: +49 221 677 860 99
Amtsgericht Köln | HRB 70119 | Geschäftsführer: R. Freygang, R. Rottmann, M. Willnow | USt.-IdNr.: DE266333969
Werden Sie unser Fan auf Facebook: http://www.facebook.com/grandcentrix
ok just added a workaround function for you @hxf148 . Uses CURLOPT_USERAGENT to act as browser and gets the userId from the html returned by https://alpha.app.net/username
// should return 1365
echo $app->getIdByUsername('jdolitsky');
thanks!!
not a problem :)
Is there currently an API method I am not seeing or undocumented that makes it available to get a User ID from the Username? I don't really want to expose the id for internal app links.