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

Web source code frontend broken? [Apr. 21st, 2014|04:42 am]

rahaeli
[Tags|, , ]

When trying to look up the change history of a particular bit of the LJ source just now, I noticed that the web frontend for the LJ source is returning blank. Is this change deliberate, or just a temporary glitch?
link17 comments|post comment

is_show, is_loaded in getcomments [Oct. 4th, 2013|09:28 pm]

alsterellie
[Tags|, , ]

Hi, has someone figured out what the parameters "is_show" and "is_loaded" mean exactly? They are returned by the getcomments function. I've played around a bit and I can see that the are both generally set to 1, but they will be both set to 0, if the comment was deleted. Do situations such as this ever occur?

is_show = 0
is_loaded = 1

OR

is_show = 1
is_loaded = 0
linkpost comment

LJ Picture Uploader [Sep. 16th, 2013|05:46 pm]

thornik
[Tags|, , , , ]

Hello, guys!
Lately I made a program to upload pictures on LJ server (Page on SoftPedia). It's quite simple at look and same simple in use, so hope people will enjoy it.
If you have any ideas how to improve it, welcome!

Program is written on C#/.NET 4.5, uses PhotoBilder API.
link14 comments|post comment

function- lj-like [Aug. 13th, 2013|07:10 pm]

danilovmy
In the journal community lj-photophile.livejournal.com is such a function- lj-like, when users can mark their favorite articles.
(The figures below each article like "+1 (45)")

how i kann included this property?

If nobody don't know, please somebody tell me, who can I ask?

when I asked this livejournal service, they heard from me about this property for the first time.

Thank´s a lot,
link8 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

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