You are viewing lj_dev

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

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

Fetching images via API [Jul. 1st, 2014|03:46 pm]
green_2005
[Tags|, , , ]

Hi!
Are there any methods to get image content that are marked as "Only for Friends" ?
I'm writing Android app and I try to use HttpGet. I add FB Headers like that:
Host: pics.livejournal.com
X-FB-User: bob
X-FB-Auth: crp:0123456789abcdef:0123456789abcdef

But in response I get Html page with access denied message.
linkpost comment

RPC request for polling [May. 27th, 2014|12:03 am]

be_progressive
[Tags|, ]

Hey there!
I try to send request to Lj rpc-xml server for polling, but it return an error 203 - "Invalid argument(s): answers [203]".

Poll has ID
1968584 and chosen answer is 2.

The data that I send:

requestHash = new HashMap<String, Object>();
requestHash.put("pollid", "1968584");
requestHash.put("answers", "2");
client.call("LJ.XMLRPC.votepoll", requestHash);

In ljprotocol.pl I found following code:

# check answers parameter
  my $answers = $req->{answers};
  return fail($err, 200, 'answers') unless($answers);
  return fail($err, 203, 'answers') unless(ref $answers eq 'HASH');

But I can't understand, what means 'HASH' :(
Please, help me to find out, what am I doing wrong.
link3 comments|post comment

FotoBilder [Aug. 7th, 2013|10:26 pm]

lord_baskervil
[Tags|, ]

Is it possible to link image (GetPics) and gallery (GetGals)? I want to see in desktop client all content of my scrapbook and show pictures in albums.
linkpost comment

No more private photo uploads? [Jul. 30th, 2013|07:58 am]

metageek
[Tags|, , ]

(I asked this in the support forum, too, but I'm not getting any response; maybe this community is a better place to find the people who know.)

I maintain a photo uploader for Android which uses the Fotobilder API. Yesterday I noticed that private uploads, using the PicSec: 0 setting, were not working: they get an error message:

<Error code='211'>Invalid argument: PicSec</Error>

When I switch to public (PicSec: 255) or friends-locked (PicSec: 254), the client works correctly. And I know PicSec: 0 was working no more than three weeks ago.

Does anybody know whether private uploads have been deliberately blocked in the Fotobilder API for some reason, or is it just a bug?

(On further experimentation, I find that GalSec: 0 is also being refused, which makes me think it's more likely to be deliberate...)
link4 comments|post comment

Download current blog style [May. 30th, 2013|09:35 am]

lord_baskervil
[Tags|, ]

Hi.
How I can download my current blog style?
I create desktop application for lj and I want to do a preview in blog style.
Thx.
link7 comments|post comment

recent comments - the way of making yours BLOG better! [Jan. 15th, 2013|12:00 am]

danilovmy
[Tags|, , ]
[Current Location |Austria, Galtür]

in meinem blog hab ich module "RESENT komments" optimiert.
Jetzt kann jeder lesen letzte komments und sofort antworten.
Es ist einige sachen,welche helfen blog zu verbessern.

Я встроил, наконец, на страничку своего блога последние комментарии. Это позволяет видеть комментарии со всех страниц и сразу отвечать или переходить к комментируемой статье любому пользователю без необходимости посещения страницы http://www.livejournal.com/tools/recent_comments.bml  

Все написано на PHP и запущенно на внешнем сервере, Т.к. умники запрещают в ЖЖ встраивать напрямую кусочки кода.

А поскольку даже фреймы (псевдо запрещенные) работают только в opera  - то единственное решение - генерировать на лету картинки с текстами комментариев и обрабатывать налету нажатия на ссылки.

Комментарии PHP код получает каждые 10 минут с сервера.
 last_komments
 
Код работает так, что можно запрашивать до 10 последних комментариев, можно и дальше доработать.

Попробуйте, это очень удобно для ЖИВОГО блога.
link6 comments|post comment

Friends entries [Nov. 24th, 2012|01:56 pm]

smamit
[Tags|, , ]

Hi, All

I need to get friends list in my app. I am going to run over html content and scrap needed data.
Do we have some way to specify in which style We get friends list  ( Something like this http://zuma.livejournal.com/friends?style=Everwhite&skip=10 or http://vodex.livejournal.com/friends/?s2id=StyleId&auth=digest ). 
How can i know what is the ID of certain style ?

Thanks.
link9 comments|post comment

(no subject) [Aug. 3rd, 2012|07:25 am]

dennis
[Tags|, , , ]

Is there any API available helping to get user's date of registration and location?
link2 comments|post comment

weirdness in XML-RPC API [Jul. 18th, 2012|03:56 pm]
corristo
[Tags|, , ]

Hi,

I think I found some problem in XML-RPC API when using getcomments & getfriendspage method to get comments & friend posts respectively.

If comment/post body is something like "+100", API will return xml with field of type "int", not string or base64 (this is also not documented anywhere when API returns plain string and when base64).

Example xml:
<member>
  <name>body</name>
  <value>
    <int>+100</int>
  </value>
</member>


Is it a bug?
link3 comments|post comment

editfriends and edit friends [Jul. 5th, 2012|07:44 am]

lord_baskervil
[Tags|, , , ]

>This function allows adding, editing, and deleting friends from the Friends list.

With adding and deleting friends all good. But I don't understand how to edit friend? How to change via api his bgcolor and fgcolor and change group.
Any ideas?
linkpost comment

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