diff options
author | Robert Pösel <robyer@seznam.cz> | 2017-04-23 15:15:01 +0200 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2017-04-23 15:20:18 +0200 |
commit | d1966092373ec064108cee2cb9214a21d90a17cf (patch) | |
tree | cbee23514de7365fc64c9dbebf6864140bcca3b6 /protocols/FacebookRM/src/process.cpp | |
parent | 740a34b1053593cb728f7615ba9bcbad4558e428 (diff) |
Facebook: Fix parsing newsfeeds (fixes #789)
Diffstat (limited to 'protocols/FacebookRM/src/process.cpp')
-rw-r--r-- | protocols/FacebookRM/src/process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index 9a9746b1c7..8891b38478 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -509,7 +509,7 @@ void parseFeeds(const std::string &text, std::vector<facebook_newsfeed *> &news, DWORD new_time = last_post_time; - while ((pos = text.find("<div class=\"userContentWrapper", pos)) != std::string::npos && limit <= 25) + while ((pos = text.find("<div class=\"fbUserContent", pos)) != std::string::npos && limit <= 25) { std::string post = text.substr(pos, text.find("</form>", pos) - pos); pos += 5; |