Get the id of the post just published

avalongits

Новичок
Регистрация
14.02.2013
Сообщения
38
Благодарностей
0
Баллы
0
On facebook, I want to post a link and then save the id of this post.

Is it possible? How?

The ID is saved here:
<a class="uiLinkSubtle" href="/<MY_USERNAME/posts/POST_ID">
 

avalongits

Новичок
Регистрация
14.02.2013
Сообщения
38
Благодарностей
0
Баллы
0
I had some problem posting exscuse me. The ID is saved here:

HTML:
<a class="uiLinkSubtle" href="/MY_USERNAME/posts/POST_ID">
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 706
Баллы
113
You have to use word processing - regexp action for this task
In regex builder you can build expression:

(?<=post/).*
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113
Take href of element and then use regexp (?<=posts/).* in word processing
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)