I have some questions about LJ XML-RPC

Sep 22, 2011 13:50

Hi

Sorry for my English :-)

I try make LJ client for WP7. But I couldn't make some scenarios

1) In browser from PC I can open any public journals without autorization (i.e. as Anonymus). But XML-RPC method getevents requires "authentication settingsQuestion: can I receive LJ events without login/password? How ( Read more... )

client: unauthenticated access, client, *unanswered, client: authentication, client: xmlrpc

Leave a comment

Comments 2

khyron September 25 2011, 16:39:52 UTC
This is tangential to your specific question, but you may be interested to know that LJ is currently experiencing issues with XML-RPC connectivity. This could cause some unpredictable situations for someone trying to do development using the XML-RPC interface to LJ. Here is a list of current support tickets referencing the issue ( ... )

Reply


sunnyman September 26 2011, 09:04:50 UTC
Hi!
1) You have two possible options here:
- (authorized access) use user's credentials to authorize as usual (challenge-response or cookie auth methods) + journal / journalid parameters to specify the journal (any one) to get events from, so you'll get all events available for the user being authorized.
- (anonymous access) don't specify user's credentials at all (avoid username parameter), set auth_method=noauth, and specify the journal you needed to get public entries from in journal/journalid parameters.

2) Unfortunately identity accounts (Facebook/Twitter/Google/OpenID etc...) before they converted to conventional LJ accounts, couldn't use XML-RPC API (with challenge-response authorization), due to they don't have passwords, only usernames like _extsomenum. You may try to use cookie authorization (http://www.livejournal.com/doc/server/ljp.csp.auth.cookies.html), obtaining cookie by WEB auth via login.bml.

Reply


Leave a comment

Up