aboutsummaryrefslogtreecommitdiffstats
path: root/facebook/facebook-api.c
Commit message (Collapse)AuthorAgeLines
...
* facebook-api: fixed generic API operations always failingjgeboski2015-08-25-1/+5
|
* facebook-api: removed weird usage of g_slist_copy_deep()jgeboski2015-08-24-3/+8
|
* Imported changes from purple-facebookjgeboski2015-08-24-1022/+2563
|
* facebook-api: fixed JSON parse errors with messagesjgeboski2015-06-22-2/+9
| | | | | | | | It was assumed there was always a leading "NULL" byte prepended to each message. This is not the case, the NULL byte is actually a variable integer, which is the size for a Thrift string. In order to navigate directly the JSON data, just read the data as a thrift string in order to obtain the offset of the JSON data.
* Reset stoken when getting ERROR_QUEUE_NOT_FOUND, to create a new onedequis2015-04-03-1/+8
| | | | | | Simpler and more verbose version of my other patch which silently created a new queue - this will show up as a reconnection and should make it obvious if an infinite loop happens. jgeboski's idea, not mine.
* fb_api_cb_mqtt_publish: Show topic as part of the debug messagedequis2015-03-11-1/+1
|
* Updated copyright dates for 2015jgeboski2015-03-05-1/+1
|
* facebook-json: add fb_json_str_escape() to properly escape messagesdequis2015-03-01-1/+6
| | | | | | | | Fixes issues such as losing messages that include a quote character. Only escapes the minimum needed to work - control characters, backslashes and quotes. UTF-8 chars are still valid json, so they are sent as-is.
* Revert "Implemented message sending queue"jgeboski2015-01-30-44/+1
| | | | | | | | This reverts 68c46dd. While the sending queue attempted to ensure each message was sent in order, it also lead to a significant delay in the sending of messages. This is due in part to Facebook taking upwards of a minute or more to reply to a message being sent. Moreover, the queue is not really needed unless messages are being spammed.
* facebook-api: fixed invalid GSList usagejgeboski2015-01-30-7/+7
|
* Check format string security at compile-timejgeboski2015-01-27-2/+2
| | | | | This enables various format string security checks by the compiler in attempt to avoid run-time failures.
* facebook-api: removed unused topic subscriptionsjgeboski2015-01-23-10/+9
| | | | | | | | | This removes certain topic subscriptions which are of no importance to this plugin. This results in the usage of slightly less bandwidth. This also forcibly unsubscribes from the message notifications topic, which seems to cause the connection to die out randomly when messages are sent.
* Unconstify all GSListsjgeboski2015-01-17-1/+1
|
* Implemented group chatsjgeboski2015-01-16-8/+435
|
* Improved handling of JSON and HTTP errorsjgeboski2015-01-16-31/+60
|
* Migrated to numeric facebook user identifiersjgeboski2015-01-15-189/+48
|
* Implemented typing notificationsjgeboski2015-01-15-1/+97
|
* Implemented message sending queuejgeboski2015-01-14-3/+47
|
* Implemented presence states of contactsjgeboski2015-01-14-0/+122
|
* Implemented one-on-one messagingjgeboski2015-01-14-134/+416
|
* Implemented contacts list lookupjgeboski2015-01-14-0/+131
|
* Implemented initial MQTT interfacejgeboski2015-01-14-2/+183
|
* Implemented user authenticationjgeboski2015-01-03-0/+294