[wishlist] Vkontakte.ru support

Bug #572753 reported by Preobrazhenskiy Vladislav on 2010-05-01
174
This bug affects 35 people
Affects Status Importance Assigned to Milestone
Gwibber
Medium
Sergey Prokhorov

Bug Description

Vkontakte.ru is the most popular social network in Russia. Twitter, Facebook etc. don't have enough users around here. If vkontakte support was added, Gwibber would be much more topical for Russian users.
Thank you

Related branches

UnknownSam (bsp52nd) wrote :

Yes, that's right!
Just run it, but was upset by the fact that vkontakte.ru isn't supported.

Artem Demyanov (qwertyway) wrote :

I guess a lot of users would be pleased if you add vkontakte.ru support
I'm looking forward to it
Thanks

Michael Soluyanov (crantisz) wrote :

vk.com is mirror in international style.

Сделайте сами. Никому кроме пользователей из рашки и прочих хохляндий это не нужно (ваш капитан).

Lex Ross (lross) wrote :

To Joe_Bishop: Could you please use plain English in your posts? As far as I get it, your previous post should read "Go do it yourselves. No one needs it but Ruskas and Hohlandi users (your captain)." With Ruskas being negative of Russia and Hohlandi is being negative of Ukrain, am I correct?

Now back to our horses. I came across this wishlist report after reading Ryan Paul's article on arstechnica, as I was curious about writing Gwibber plugins. I do not use social networks personally and neither am excited about them. I do recognize its growing importance though, including national networks. We do support QQ and other national protocols with Empathy and there is nothing wrong with Gwibber having natural support for vkontakte.ru

There is a Rhythmbox plugin available which gave me access to tons of music on vkontakte.ru so I am certain that this resource is popular and that Russian community is actively developing, and not just sitting there doing nothing. Here is the link to launchpad https://launchpad.net/rhythmbox-plugin-vkontakte It can be used to get an idea on how to use API for basic things like user authentication and so on.

My understanding is that vkontakte.ru API is poorly documented with lots of undocumented features existing, and others being slightly different from what is documented. And that is why I turned to this wishlist report to learn exact protocol integration requirements, from Gwibber developers.

And since I am not using social networks personally, I would like to ask community out there as to whether there are any benefits from Gwibber vkontakte.ru support compared to web interface. Hope both Gwibber and Empathy will soon be supporting vkontakte.ru

>> am I correct?

Almost. A bit more accurate translation: "Go do it yourselves. No one needs it but those from Russka and other Hohlandias (your captain [Capitan Obvious, I assume])." Where "Russka" is a scornful variant of "Russia" russified back from English and "Hohlandia" is a scornful variant of Ukrain.

>> I would like to ask community out there as to whether there are any benefits from Gwibber vkontakte.ru support compared to web interface.

Messaging in the first place. Vkontakte.ru is widely used for chatting (just because everybody's there), but if you don't use any third party programmes (like Ya.Online by Yandex) you can learn about new messages only by refreshing the page. A new tool called "Instant messaging" was recently implemented - it opens a new browser window with a web-based chat engine and it does notify if somebody writes you. Yet again - you have to keep this window open.
Gathering information from "My News" section would've also been useful. New events in the groups you are a member of, comments to your photos, friends' status messages, notes, new images and videos - everything appears there, but it lacks notifications for a choice of these stuff on the desktop.

So, I've done it. Here is the module:
svn checkout http://vk-cli.googlecode.com/svn/trunk/ vk-cli-read-only
The project is: https://code.google.com/p/vk-cli/
The usecase:

import vk
session = vk.Vkontakte(login, password)
current_status = session.activity
session.activity = 'New status' # This sets status to "New status"

Can someone include this into gwibber?

Oh, yes. It's only about vkontakte status and upload – I only need them. I don't need messaging support since they don't provide any API for this and the only way is HTML page parsing (that will cause issues with unread message status, because the "crawler" must read this message in order to show it in the client and the message will become "read" although it isn't actually). Getting status works through HTML parsing too, though, but it doesn't matter for them.

Hmm, "upload" ≡ "picture upload"

Sergey (sergeyyy2004) wrote :

Joe_Bishop, can you explain how to use your module and include it into Gwibber?

It's pointless now. They've implemented jabber service )

I mean, simple setting of vkontakte status now works through setting XMPP status. But they introduced microblogging functionality too, that my module don't know anything about. BTW, the HTML parsing is ugly solution.

Vadim Rutkovsky (roignac) wrote :

The site has HTTP API, so, should be marked as wishlist

Changed in gwibber:
status: New → Confirmed

There are some implementations of VK API written on python. I think, developers should review them. E.g. http://pypi.python.org/pypi/vkontakte/0.9.2
http://code.google.com/p/apivk-py/

Sergey Prokhorov (seriy-pr) wrote :

I start developing vkontakte.ru plugin. Current version support authorization and post messages to wall, but has no support of streaming/message reading. See https://code.edge.launchpad.net/~seriy-pr/gwibber/vkontakte-ru-plugin branch.

Same on russian:
Я начал писать плагин поддержки вконтактека, в принципе сейчас уже можно авторизовываться и писать сообщения на стенку, но нельзя их получать и просматривать в интерфейсе Gwibber-а. Кто хочет потестить - ставьте из ветки https://code.edge.launchpad.net/~seriy-pr/gwibber/vkontakte-ru-plugin

Changed in gwibber:
assignee: nobody → Sergey Prochorov (seriy-pr)
Sergey Prokhorov (seriy-pr) wrote :
Changed in gwibber:
status: Confirmed → Fix Committed
Andriy Korchak (kharts) wrote :

It seems it works. Thank you!
Waiting for inclusion this plugin to next version of gwibber.

ImG (ghost333) wrote :

Thanks a lot)
it realy works!

It works fine.

Shadar (zxlmm) wrote :

Great, finally =)

Works perfectly (Though, i hope it would be better in the future)

You should really add it to the main branch.

maskimko (maskimko) wrote :

Developers should improve Gwibber by adding this plugin to the main branch.

Omer Akram (om26er) on 2011-01-30
Changed in gwibber:
importance: Undecided → Medium
milestone: none → 2.91.5
None (irbinix) wrote :

А у меня не работает не через деб пакет с форума не через ppa которую дали.
Ubuntu 10.10

Sergey Prokhorov (seriy-pr) wrote :

@iRBiNiX: Please, use english in your Launchpad posts.

Can you run
gwibber-service -o --debug
from terminal and post output there.

Please, describe how do you install packages.

(same in Russian)
@iRBiNiX: пожалуйста старайся использовать английский в сообщениях на Launchpad.

Попробуй запустить
gwibber-service -o --debug
из консоли и запости то, что оно напечатает сюда.

Раскажи как ты устанавливал Gwibber и пакет vkontakte

None (irbinix) wrote :

спс уже работает. :) Я вчера нашел этот плагин пытался через deb прикрутить, но никак, а на блог с описание настройки не отрывался чего-го. А вот только на блог вышел все прочитал понял что не установил необходимый минимум twiter и facebook. Потом заработал правда что-то он долго не запускался. Но теперь все ок. Спс за плагин :)
А отправка личных сообщений все-таки надо бы сделать, а то прокомментировать что написал твой друг в контакте можно а вот бывает читаешь сообщений на доске друга а потом раз в голову я же забыл сказать ему ... А сообщение отправить не можешь. Если через браузер то надо его еще найти их множества человек. А тут бы сразу отправил и все. Так что мае мнение по данному вопросу надо. (Это по поводу добавить эту возможность в блоге)

Еще бы mail.ru подкрутить так вообще было бы полный порядок :)

Спс еще раз. Удачи вам с разработкой данного плагина.

Да если что можете мне писать на мыло если надо будет потестить, если будет время поможет еще чем.
<email address hidden>
Пока

если честно, то я отчаялся с этим бороться, с английским туго

13.02.2011, 17:59, "Sergey Prochorov" <email address hidden>:
> @iRBiNiX: Please, use english in your Launchpad posts.
>
> Can you run
> gwibber-service -o --debug
> from terminal and post output there.
>
> Please, describe how do you install packages.
>
> (same in Russian)
> @iRBiNiX: пожалуйста старайся использовать английский в сообщениях на Launchpad.
>
> Попробуй запустить
> gwibber-service -o --debug
> из консоли и запости то, что оно напечатает сюда.
>
> Раскажи как ты устанавливал Gwibber и пакет vkontakte
>
> --
> You received this bug notification because you are subscribed to
> Gwibber.
> https://bugs.launchpad.net/bugs/572753
>
> Title:
>  [wishlist] Vkontakte.ru support
>
> Status in Gwibber:
>  Fix Committed
>
> Bug description:
>  Vkontakte.ru is the most popular social network in Russia. Twitter, Facebook etc. don't have enough users around here. If vkontakte support was added, Gwibber would be much more topical for Russian users.
>  Thank you

--
СМТОиК Димитровградхиммш тел моб.8-9539883188

<div class="f285"><a href="http://www.translate.ru/"><img src="http://www.translate.ru/images/ru/promt_sm.gif" align="left" hspace="3" vspace="5" border="0" /></a></div>

qmax (qwiglydee) wrote :

what about comments to posts?
are they supported?

Sergey Prokhorov (seriy-pr) wrote :

@qmax yes, they are supported.

You can see comments to your and others posts and post comments to them.
But when you post comment, it doesn't showed immidiately... Only on next refresh (or you can click F5).

Screenshot: http://dl.seriyps.ru/img/vk_gwibber.png

maksymov.vlad (maksymov.vlad) wrote :

а у меня ответов не видно. Вконтакте они есть, но gwibber их не показывает :( и никакие F5 не помогают. подскажите, чё делать?

maksymov.vlad (maksymov.vlad) wrote :

забыл, Gwibber 3.1.0

Sergey Prokhorov (seriy-pr) wrote :

maksymov.vlad, для начала расскажите как устанавливали, потом попробуйте запустить из консоли

gwibber-service -o --debug

и напишите здесь что оно выведет

maksymov.vlad (maksymov.vlad) wrote :

для установки пользовался вариантом номер раз отсюда (http://seriyps.ru/blog/2011/01/31/plugin-vkontakte-ru-dlya-gwibber/), а gwibber-service -o --debug выдаёт следующее http://pastebin.com/M16Kf3kZ

Sergey Prokhorov (seriy-pr) wrote :

maksymov.vlad, очень странно... Фактически ошибок связанных с VKontakte не выдает вроде-бы...

А DEB пакет gwibber-service-vkontakte_3.0.0~bzr966-0_all.deb или gwibber-service-vkontakte_2.91.3~bzr941-0_all.deb ?

Можно попробовать в одной консоли запустить gwibber-service -o --debug а в другой gwibber -o --debug и скопипастить вывод второй команды например. Пока что мне не ясно в чем может быть ошибка.

Если хотите можем продолжить обсуждение в ICQ/Jabber/Skype, контакты есть на seriyps.ru

Sergey Prokhorov (seriy-pr) wrote :

PPA for this plugin https://launchpad.net/~gwibber-vkontakte-plugin/+archive/ppa

sudo apt-add-ppa ppa:gwibber-vkontakte-plugin/ppa

Bilal Shahid (s9iper1) wrote :

"Thanks for your patch, unfortunately our busy developers haven't been
able to review your patch in a timely manor. The gwibber codebase has
seen significant change and it is likely this patch no longer applies.
Please review it again and if it is still applicable, update it to work
with the latest gwibber trunk. We will be doing a patch review day in
the next few weeks and would like to review your patch. Thanks again for
your contribution!"

tags: added: patch-day-old
Changed in gwibber:
status: Fix Committed → Incomplete
Ken VanDine (ken-vandine) wrote :

The vkontakte plugin should really have a separate launchpad project to more effectively manage bugs filed against it. Marking this invalid against gwibber.

Changed in gwibber:
status: Incomplete → Invalid
Sergey Prokhorov (seriy-pr) wrote :

Ok, I will try to find some time to migrate plugin to separate progect

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions

Related blueprints