Home
LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Notifying via internal inbox [Mar. 3rd, 2010|08:30 pm]

mcfnord
[Tags|, , ]

I run an LJ toy (ljmindmap.com) and I want to notify people via the Messages system when I have new data for them (or just produce the data itself in the email, or email a link to a post that itself has the data for the user).

I'm just wondering if

http://www.livejournal.com/inbox/compose.bml?user=brad

could be automated easily, or will there be hassle, or is there a proper API somewhere to send a note to a user. I know it's subject to caution due to spam etc. my list is all opt-in. any clues welcome.
link3 comments|post comment

exception: Client error: Invalid text encoding: Cannot display this post [Feb. 26th, 2010|09:44 am]
unruledboy
[Tags|, , , , , ]

when I edit a post (on web) submitted by xmlrpc, it says:


Client error: Invalid text encoding: Cannot display this post. Please see http://www.livejournal.com/support/encodings.bml for more information.


what Xml Encoding should be used to solve this problem?
link1 comment|post comment

XML-RPC response is truncated when trying to get large entries [Feb. 21st, 2010|11:37 pm]
archteam_dev
[Tags|, , , , , ]
[Current Location |Russian Federation, Moscow]
[mood | annoyed]

I am working on the project where I am importing community entries to the web site. I faced with strange behaviour of getevents method. I am getting truncated Xml response code when there is a large posts among the response list. The strange thing is that not the entry text is truncated but the whole response with three dots (...) in the end, even if the truncate parameter is omitted in the request.

I found, when I set  ver parameter  to 1, entries those contain more than 5106 symbols breaks the response. For ver=2 the length is about 10000. Does anyone face the same problem? Is this a bug? Or did I miss something?
link4 comments|post comment

Add a client to the list [Feb. 21st, 2010|02:52 am]

yamj
[Tags|, , , ]

 I did find an answer to my question, so I want to ask here. I hope it will be right place.


I am developer of Journaler – a LiveJournal client for iPhone and iPod touch. And I want it to be listed in the list of clients for handhelds and FAQ about iPhone. How I can my app to these pages? If it against a policy to list there paid clients, may Journaler Lite (a free version) be listed at least?
link3 comments|post comment

Getting phone number out of LiveJournal [Feb. 11th, 2010|12:32 pm]
sktestb
[Tags|, , , ]

Hi

I am new to live journal. I am using LJToolKit library (code.google.com/p/ljtoolkit/). Is there a way to retrieve friend's email address & phone number? If not this library is there any other way? Any help is appreciated.

Thanks.
Shilpa
link11 comments|post comment

(no subject) [Feb. 5th, 2010|06:16 pm]

int
[Tags|, , , , , ]
[mood | curious]

Two questions regarding features that were turned off long long ago:
  1. Will the client statistics thing ever be re-enabled? It's been so long that I can't even remember what it looks like anymore. I think it'd list what clients a user used to post to their LJ, and there was possibly another page that'd give an overview on how many people were using your client.
  2. The checkfriends method was disabled after a version of LochJournal had a bug in it that'd bombard the server with requests. It was then re-enabled for paid users only. I gave up trying to implement it when it turned out it'd be useless for everyone but paid accounts. Will this ever get turned back on for free people (or has it been and I haven't been paying attention?)?
link4 comments|post comment

How to get the friends' page? [Feb. 3rd, 2010|05:30 pm]

tough_beaver
[Tags|, ]

Hi, I'm in the middle some homework project, and I have stumbled upon some complication with API.
When creating the page that will represent the friends' recent entries I can't figure out how to obtain that information from the LJ.
How can I get friends' recent entries?
Thank you.
link10 comments|post comment

LJ for WebOS - a LiveJournal client for WebOS devices [Feb. 1st, 2010|10:04 am]

gregstoll
[Tags|, , , ]
[mood | excited]

I'm happy to announce that LJ for WebOS, the first LiveJournal client for WebOS devices (as far as I'm aware), is now available on the Palm App Catalog! Features include:
- viewing friends posts and your own posts
- commenting on posts
- making posts with custom security, tags, userpic
- uploading images to imgur.com and including them in your posts
- caching posts for offline viewing

Here's the official Palm page. LJ for WebOS was formerly known as the homebrew app WebOSJournal. I'm more than happy to take feedback/feature requests. Thanks!
link6 comments|post comment

Cross Posting Options [Jan. 25th, 2010|10:31 pm]

brentfolger
[Tags|, , ]

This issue has to do with cross posting to Live Journal, specificly, but there is essentially a mass of options avaliable as to how this should be done in this case. Unlike what I stated in my current post, there may now be changes that affect the way I should go about setting this system up.
Here is the break-down:

I have an attorney site that operates using wordpress as it's CMS.
There are currently 14 different post categories on this site that will be updated mostly on a monthly basis.
As was suggested to me previously, I considered having one syndicated LJ account and using one tag per category.
I would also have to use a wordpress plugin "LJ-XP" to cross post these category entries to LiveJournal.

Here's Where I'm stuck:
Now, it appears that I will be working with another website which is not in wordpress, or at least not yet. If needed I can code this into wp easily.

This site will also have the exact same 14 categories as the wordpress site, BUT the content will be completely unique. I would want to cross post this site as well since obviously there would be fresh, unique content coming from it. Go to this page and scroll down to the bottom to see the posting categories I am referring to. Personal Injury Attorney Augusta. Is it common or recommended to have two sites cross posting into the same syndicated account? They would have the same posting categories... Would there be any advantages to having two separate syndicated LJ accounts? Also, if I don't code the second site into wordpress what's the best way to cross post to LJ since I obviously won't have the luxury of a plugin. I would appreciate thoughts and feedback on this.
Thanks for your help!
link9 comments|post comment

Complicated issue and error msg [Jan. 20th, 2010|04:44 pm]

brentfolger
[Tags|, , , , , ]

Two things here:

Yes, I already understand about operating syndicated accounts in LJ using feeds to update LJ with a site's latest content , but here is the issue: Ok, what if an attorney I am helping out with live journal wants to take all of his existing posts on his existing website which is Personal Injury Attorney Augusta .com and syndicate these into individual posts automatically on LJ without having to do this manually? Here is the other issue, say he has 10 or 14 different post categories on his main website and he will posting to each category once a month. Any suggestions on how to organize this data on LJ? The post categories are related yet so diverse it wouldn't make sense for them to necessarily be thrown together in LJ.

The next issue kept coming up when installing Live Journal on the server. I have never gotten this message before.

Can't locate object method "is_sup_enabled" via package "LJ::SUP" (perhaps you forgot to load "LJ::SUP"?) at /home/lj/cgi-bin/weblib.pl line 2067. @ www.mydomain.com

What does this mean? Should I just totally redo this install?

Any help, ideas and recommendations would be greatly appreciated.. Please reply with your recommendations.
link10 comments|post comment

fetch info from livejournal based on keyword [Jan. 13th, 2010|03:16 pm]
polo86
[Tags|, , , , ]

hi,

i am trying to write a simple application that fetches public information from livejournal using keywords. Using XML-RPC client/server protocol i can fetch information related to a particular user but how can i fetch info from all the database of livejournal with reference to a keyword. Please do help.
link7 comments|post comment

LJ.XMLRPC.addcomment [Dec. 15th, 2009|10:50 am]

jfelectron
[Tags|, , , ]
[Current Location |United States, California, Hayward]

Has anyone successfully used the undocumented addcomment XMLRPC method?

It seems to take journal, ditemid, parenttalkid, poster, body, subject and props.

ditemid is self-explanatory, but I'm not sure what parenttalkid is. Every time I've tried to call the method, I get an error of 'No such entry. at /home/lj/cgi-bin/ljprotocol.pl line 250'. Looking at the code, this is right after the journal specified by the journal argument is pulled from the table. Any ideas?
link6 comments|post comment

Comments downloading question [Dec. 11th, 2009|04:04 pm]

lukash_yegor
[Tags|, , , , , ]

Hello, please, help me to download all comments from community. I use perl-script with clear-authorisation in a LJ-server (XML-RPC). Community is very big and old. And method syncitems get me 500 items. But I iterate this method and get all posts. Next step - is a downloading comment. In this step I got error. And autorisation is Faild. I create request to LJ whith method sessiongenerate and can get SESSID then send this ID to /export_comments.bml?get=comment_meta&startid=$maxid&authas=$SESSID Server response Error-content whith:
<h2>Error<h2>
...
<li>You could not be authentificated as the specified user</li>
...

But if I run this perl-script whith another autentificated-data (another community, no so big) I successfully get my XML from this URL.

Please tell me wrongs.
link12 comments|post comment

undocumented XML-RPC methods [Dec. 2nd, 2009|12:03 pm]

jfelectron
[Tags|, , , , , ]
[Current Location |United States, California, Santa Rosa]

Some googling and testing revealed the following undocumented XML-RPC methods, which expose a number of nice functions from the client side.

All are in the LJ.XMLRPC namespace of course:

getfriendspage
sendmessage
setmessageread
getinbox
addcomments

These were gleaned from: code.livejournal.org/trac/livejournal/browser/trunk/cgi-bin/ljprotocol.pl

It seems only paid users can call addcomments.
This codebase is over a year old, it looks like they aren't using that repository. I believe there may be other methods. The iPhone app developer[info]cosysoftware_en some upcoming functionalities in his app that don't seem available from these methods. He claims to have gotten LJ to extend the XML-RPC interface, but won't disclose what these new functions might be.

The LJ support is useless. Is there another way to contact LJ devs? Anyone with XML-RPC client should implore LJ to update their documentation.



link17 comments|post comment

Supported method for changing main site index.html [Dec. 3rd, 2009|03:22 pm]

mocker_
[Tags|, , ]
[mood | cheerful]

New site up and running and I'm to the point of editing the main index page. On the page it says to reference this


You'll want to customize this page. Read the instructions at http://www.livejournal.com/doc/server/lj.customize.index.html for help.


to update the page. The only thing I see that might relate in there is the section about updating a language file.

Should I update it the normal way by creating it in my CVS local directory and syncing it over, or is there a different method for site pages like the main index?
link2 comments|post comment

(no subject) [Nov. 28th, 2009|08:29 pm]

tlamer
[Tags|, , ]

I'm trying to add newpost to my journal using curl,

curl -d"mode=postevent&.....&event=
[Error: Irreparable invalid markup ('<img src&eq;http://img_url>') in entry. Owner must fix manually. Raw contents below.]

I'm trying to add newpost to my journal using curl,

curl -d"mode=postevent&.....&event=<img src&eq;http://img_url>" www.livejournal.com/interface/flat

result of this operation is "<img src" i'm understand that problem is in &eq; but show to fix it (?
link5 comments|post comment

sessiongenerate weirdness [Nov. 23rd, 2009|08:37 pm]

fub
[Tags|, , , , ]
[mood | confused]

I'm currently working on integrating Scrapbook in my LJ client. When downloading pictures, I got a 403 Forbidden error when downloading pictures that were under a friends-lock. That's (of course) exactly as it should be.
So my strategy is to get an LJ session cookie (through the sessiongenerate interface call) and send that along with my request for the pictures. However, I can't get it to work with the cookie I get back from the sessiongenerate call. To check, I extracted my ljsession cookie from Firefox and pasted that into my code -- and then it worked. So it's not my code that is broken. Tt seems as if the return value from sessiongenerate is invalid...

I inspected the two cookies a bit further, and saw an interesting difference. The one from sessiongenerate has the following structure:
v1:u[some number]:s[some number]:[11 alphanumeric characters]//Thanks+for+signing+in+/+LiveJournal+loves+you+a+lot+/+Here+have+a+cookie
The one that I picked from Firefox (that does work) is like this:
v1:u[some number]:s[some number]:[11 alphanumeric characters]:[41 alphanumeric characters]//Thanks+for+signing+in+/+LiveJournal+loves+you+a+lot+/+Here+have+a+cookie

The ones I get back from sessiongenerate are consistent in their structure, and they miss the second string of alphanumeric characters that my working cookie does have. What is going on? Is this a bug, or am I doing something wrong?
link6 comments|post comment

Posting russian text + HTML tags via XML-RPC postevent [Nov. 17th, 2009|08:21 am]

readandlook
[Tags|, , , , , ]

Hello!
What is the most simple way to post russian text into message and subject fields (using Qt4 + cURL, via plain or XML-RPC)? I use the .toUtf8() procedure to prepare the result post body code and insert it into the XML template, but after the operation this article is not editable simple way - charset error detected.

Also it would be wonderful to insert into the body html tags (via XML-RPC). Is it possible, maybe you know how to do it using Qt library fucntions? I'm new in XML and network programming, so excuse me my stupid questions. :-)
link6 comments|post comment

Sad news [Oct. 24th, 2009|04:02 pm]

pauamma
[Tags|]

For those who haven't heard already: SUP let go of tupshin this week. He will be sorely missed. :-(
link2 comments|post comment

misleading documentation on XML-RPC interface [Sep. 25th, 2009|06:24 am]

aslj_client
[Tags|, , , ]

In the documentation for the "postevent" method in the XML-RPC interface, it says that the "props" parameter should be an array containing a struct, but I am fairly certain that the "props" parameter should just be a struct, from experience and per the discussion here.
link5 comments|post comment

navigation
[ viewing | most recent entries ]
[ go | earlier ]