maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] FaceBrick: Facebook client for Maemo with a rich UI (https://talk.maemo.org/showthread.php?t=49216)

w00t 2010-04-07 22:12

Re: My Facebook client for the n900
 
1 Attachment(s)
First release!

Take a look at http://w00t.dereferenced.net/facebrick/ to install.

Any problems? Leave a message in the thread, speak to me on IRC (w00t or w00t_), or send me a mail (viroteck@viroteck.net).

Notes

I was going to get it into extras-devel, but it's proving a bit tricky, so prebuilt binaries for now. I will do this in the near future.

Also note that neither package is currently optified. I will fix this tomorrow.

As mentioned on the page, thanks to MohammadAG for his help with packaging so far.

Known Issues

- Application posts (like farmville etc) show up as blank items in the newsfeed. They are not currently supported. They can be viewed by clicking on them.
- Newsfeed gets duplicate posts in the list. This is purely cosmetic, but leads to too long a list.
- 'parse error 13' when disconnected while trying to refresh (solution is just to disconnect and reconnect network connectivity) @brik.kb
- Special characters (øæ etc) don't work when updating status @fluffis
- Avatars apparantly not always loading. could be a problem with too many requests at once? (netoak @ tmo)

lexi1986 2010-04-07 22:30

Re: My Facebook client for the n900
 
i get this error when i want to synchronise:

"uid in the where clause must be the session user"

i am happy with the facebrick app :)

w00t 2010-04-07 22:32

Re: My Facebook client for the n900
 
Quote:

Originally Posted by lexi1986 (Post 600124)
i get this error when i want to synchronise:

"uid in the where clause must be the session user"

Can you open xterm, and run:
facebrick

After a while, you should see a long string like 'SELECT .... blah blah blah'

Can you send this to me via private message here please? Thanks.

samuch 2010-04-07 22:39

Re: My Facebook client for the n900
 
Says I'm missing a lot of dependencies when I go to install the lib deb file.

evil_m0nkey 2010-04-07 22:39

Re: My Facebook client for the n900
 
awesome, care to post screenshots

anyone?

slender 2010-04-07 22:39

Re: My Facebook client for the n900
 
cant install. says something about missing packages:
libqt-maemo5-...webkit...network...xmlpatterns

netoak 2010-04-07 22:39

Re: My Facebook client for the n900
 
working correctly. first impressions are really good.

just a note libqfacebook it's in maemo devel repository already, I installed repository version instead web version

Some times not all the user avatars load but restarting the program solve the problem

Some screenshot http://pi.pe/-qvs7zp

w00t 2010-04-07 22:43

Re: My Facebook client for the n900
 
Quote:

Originally Posted by netoak (Post 600142)
working correctly. first impressions are really good.

just a note libqfacebook it's in maemo devel repository already, I installed repository version instead web version

Some times not all the user avatars load but restarting the program solve the problem

Yeah. That'll do for now, too, they're the same.. but I won't go into why I gave up for the time being. :)

w00t 2010-04-07 22:44

Re: My Facebook client for the n900
 
Quote:

Originally Posted by slender (Post 600140)
cant install. says something about missing packages:
libqt-maemo5-...webkit...network...xmlpatterns

You'll need to manually install those packages. I thought appmanager would prompt you to do that, but apparantly not :(

Open xterm, and run this:
sudo gainroot (requires rootsh from repository)
apt-get install libqt4-maemo5-gui libqt4-maemo5-xmlpatterns libqt4-maemo5-xml libqt4-maemo5-webkit libqt4-maemo5-network libqt4-maemo5-maemo5

Then try install the debs.

lexi1986 2010-04-07 22:45

Re: My Facebook client for the n900
 
Quote:

Originally Posted by w00t (Post 600126)
Can you open xterm, and run:
facebrick

After a while, you should see a long string like 'SELECT .... blah blah blah'

Can you send this to me via private message here please? Thanks.

I need to activate my talk.maemo account but i dont receive the activation mail. So i cant PM you here is the output:

fetchNewsFeed: Sending "{"query1":"SELECT post_id, actor_id, target_id, message, permalink, created_time FROM stream WHERE filter_key in (SELECT filter_key FROM stream_filter WHERE uid=******** AND type='newsfeed') AND is_hidden = 0","queryTwo":"SELECT id, name, url, pic_square FROM profile WHERE id IN (SELECT actor_id FROM #query1)"}"
facebook error is 94 - "uid in the where clause must be the session user"

i changed uid to ******

m165 2010-04-07 22:46

Re: My Facebook client for the n900
 
Going to have a test of it now w00t!

P.S, I'm sure I recognize your username, possible from the Symbian-Freak forums?

w00t 2010-04-07 22:49

Re: My Facebook client for the n900
 
Quote:

Originally Posted by lexi1986 (Post 600153)
I need to activate my talk.maemo account but i dont receive the activation mail. So i cant PM you here is the output:

fetchNewsFeed: Sending "{"query1":"SELECT post_id, actor_id, target_id, message, permalink, created_time FROM stream WHERE filter_key in (SELECT filter_key FROM stream_filter WHERE uid=******** AND type='newsfeed') AND is_hidden = 0","queryTwo":"SELECT id, name, url, pic_square FROM profile WHERE id IN (SELECT actor_id FROM #query1)"}"
facebook error is 94 - "uid in the where clause must be the session user"

i changed uid to ******

See, that's what I don't understand. Your uid was obviously a number... Hrm. I'll sleep on that one. :(

w00t 2010-04-07 22:49

Re: My Facebook client for the n900
 
Quote:

Originally Posted by m165 (Post 600158)
Going to have a test of it now w00t!

P.S, I'm sure I recognize your username, possible from the Symbian-Freak forums?

No offence, but I'd never touch Symbian. Even if you gave me £1,000,000! :D

Missingbyte 2010-04-07 22:52

Re: My Facebook client for the n900
 
really nice, good work will look forward to seeing other integrated facebook services ; )

m165 2010-04-07 22:52

Re: My Facebook client for the n900
 
Quote:

Originally Posted by w00t (Post 600165)
No offence, but I'd never touch Symbian. Even if you gave me £1,000,000! :D

Haha, fair enough! I'll keep my £1,000,000 in my pocket then ;)

rmerren 2010-04-07 22:53

Re: My Facebook client for the n900
 
I will wait until it gets into the repositories, but I am looking forward to this app. The different facebook websites all work fine in the browser, but the combination of waiting for them to load and fiddling to type into the web form is frustrating and slow. A native app for updating status is definitely needed, so a big woot to w00t.

lexi1986 2010-04-07 22:54

Re: My Facebook client for the n900
 
Quote:

Originally Posted by w00t (Post 600163)
See, that's what I don't understand. Your uid was obviously a number... Hrm. I'll sleep on that one. :(

It is a number indeed but don´t know if its safe to post that number here. I look forward to this app great work so far :)

Ronaldo 2010-04-07 22:55

Re: My Facebook client for the n900
 
gonna install this later, but how would one uninstall dependent packages if needed?

all manually?

might wait till it hits repos.

good work mate!

"You'll need to manually install those packages. I thought appmanager would prompt you to do that, but apparantly not

Open xterm, and run this:
sudo gainroot (requires rootsh from repository)
apt-get install libqt4-maemo5-gui libqt4-maemo5-xmlpatterns libqt4-maemo5-xml libqt4-maemo5-webkit libqt4-maemo5-network libqt4-maemo5-maemo5
"

w00t 2010-04-07 22:55

Re: My Facebook client for the n900
 
Quote:

Originally Posted by rmerren (Post 600175)
I will wait until it gets into the repositories, but I am looking forward to this app. The different facebook websites all work fine in the browser, but the combination of waiting for them to load and fiddling to type into the web form is frustrating and slow. A native app for updating status is definitely needed, so a big woot to w00t.

Probably a good idea. It's perfectly safe to use this way (I've even provided the source tarballs the binaries were built from), but the repository will mean automated updates.

I just wanted to get things out there as I think people have waited long enough. :)

w00t 2010-04-07 22:56

Re: My Facebook client for the n900
 
Quote:

Originally Posted by Ronaldo (Post 600184)
gonna install this later, but how would one uninstall dependent packages if needed?

all manually?

"You'll need to manually install those packages. I thought appmanager would prompt you to do that, but apparantly not

Open xterm, and run this:
sudo gainroot (requires rootsh from repository)
apt-get install libqt4-maemo5-gui libqt4-maemo5-xmlpatterns libqt4-maemo5-xml libqt4-maemo5-webkit libqt4-maemo5-network libqt4-maemo5-maemo5
"

*IF* you had to install them, and nothing else is using them:
apt-get autoremove libqt4-maemo5-gui libqt4-maemo5-xmlpatterns libqt4-maemo5-xml libqt4-maemo5-webkit libqt4-maemo5-network libqt4-maemo5-maemo5

But be very, very sure to check the output to make sure it's not uninstalling any applications you want to keep.

w00t 2010-04-07 22:58

Re: My Facebook client for the n900
 
Quote:

Originally Posted by lexi1986 (Post 600177)
It is a number indeed but don´t know if its safe to post that number here. I look forward to this app great work so far :)

Out of curiosity:

Click the menu area, logout. FaceBrick will close. Start it again, and log in again.

Make sure that you grant it the permissions for looking at your newsfeed when it asks for it.

See if that helps. :)

andraeseus1 2010-04-07 22:58

Re: My Facebook client for the n900
 
This is why i love maemo.org

cpate99 2010-04-07 23:02

Re: My Facebook client for the n900
 
could not lock administrative directory???.?.
that comes when i enter the apt get code for all of those packages??

Jimmy Conway 2010-04-07 23:03

Re: My Facebook client for the n900
 
Quote:

Originally Posted by w00t (Post 600191)
Out of curiosity:

Click the menu area, logout. FaceBrick will close. Start it again, and log in again.

Make sure that you grant it the permissions for looking at your newsfeed when it asks for it.

See if that helps. :)

I have the same problem.

I tried to log back on, but it won't ask me again for the permission and I still get the same error.

w00t 2010-04-07 23:05

Re: My Facebook client for the n900
 
Quote:

Originally Posted by cpate99 (Post 600202)
could not lock administrative directory???.?.
that comes when i enter the apt get code for all of those packages??

You have App Manager open. Close it. apt-get can't function while App Manager is open.

lexi1986 2010-04-07 23:05

Re: My Facebook client for the n900
 
Quote:

Originally Posted by w00t (Post 600191)
Out of curiosity:

Click the menu area, logout. FaceBrick will close. Start it again, and log in again.

Make sure that you grant it the permissions for looking at your newsfeed when it asks for it.

See if that helps. :)

No it's not working get the same error. I checked facebook and i granted acces to N900 so i think it's a bug in the facebrick program.

w00t 2010-04-07 23:05

Re: My Facebook client for the n900
 
Quote:

Originally Posted by Jimmy Conway (Post 600203)
I have the same problem.

I tried to log back on, but it won't ask me again for the permission and I still get the same error.

OK, thanks. I'll look into it. :)

m165 2010-04-07 23:07

Re: My Facebook client for the n900
 
Do we need any repositories activated to apt-get the libraries?

Mine says it can't find any of the libs.

w00t 2010-04-07 23:08

Re: My Facebook client for the n900
 
Quote:

Originally Posted by m165 (Post 600217)
Do we need any repositories activated to apt-get the libraries?

Mine says it can't find any of the libs.

Yes, sorry, I should have noted that too.

Those libraries are from extras-devel.

Usual warnings about enabling extras-devel (and using this application, since technically it's pre-extras-devel even) apply.

Please don't enable them without understanding you *could* blow up your device.

w00t 2010-04-07 23:19

Re: My Facebook client for the n900
 
One bug fixed for the next release already: the newsfeed will stop getting duplicate entries all the time. ;)

m165 2010-04-07 23:25

Re: My Facebook client for the n900
 
I'm having trouble loggin in.

Typing my e-mail is a pain, as it starts suggesting words and adding random capitals in there :(

Also, when typing the password, does it start with a lowercase or uppercase letter? And to add numbers, do we need to hold down the function key, then press the letter like some websites need, or can i press the function button and release it, then press the number?

w00t 2010-04-07 23:29

Re: My Facebook client for the n900
 
Quote:

Originally Posted by m165 (Post 600244)
I'm having trouble loggin in.

Typing my e-mail is a pain, as it starts suggesting words and adding random capitals in there :(

Also, when typing the password, does it start with a lowercase or uppercase letter? And to add numbers, do we need to hold down the function key, then press the letter like some websites need, or can i press the function button and release it, then press the number?

These are all bugs in Qt, and all regrettably have to wait until the PR1.2 release before we'll get the fixes. Doing both is easier (I find) when using the virtual keyboard.

The password field will have the first letter autocapitalised just to irritate you. To get around this, type something like the following:
'ffoobar', then go back to the start and delete the first 'f', which will have been incorrectly capitalised.

m165 2010-04-07 23:36

Re: My Facebook client for the n900
 
Thanks. I just typed my password in somewhere, then copied and pasted it in :p Damn my use of using letters numbers and symbols!

EDIT:

Forgot to say it works! :D Scrolling is smoooth! Looking forward to more features!

w00t 2010-04-07 23:36

Re: My Facebook client for the n900
 
Quote:

Originally Posted by m165 (Post 600261)
Thanks. I just typed my password in somewhere, then copied and pasted it in :p Damn my use of using letters numbers and symbols!

On the bright side, you won't need to do it often. :D

w00t 2010-04-07 23:45

Re: My Facebook client for the n900
 
Quote:

Originally Posted by m165 (Post 600261)
Thanks. I just typed my password in somewhere, then copied and pasted it in :p Damn my use of using letters numbers and symbols!

EDIT:

Forgot to say it works! :D Scrolling is smoooth! Looking forward to more features!

I put many hours into making that scrolling smooth, so I'm very glad to hear it. :)

branzino 2010-04-07 23:55

Re: My Facebook client for the n900
 
hey w00t great work.

m165 2010-04-07 23:55

Re: My Facebook client for the n900
 
Couple of things on initial thoughts:

Some people have blank statuses, when i click them, it turns out its an app or something posting it as their status, is there a way you can filter them, so it doesn't return a blank status?

Secondly, maybe a way to change the font size? Witter uses the volume buttons to increase or decrease the font size, nice feature

One more, can you add alittle more spacing between the statuses? I think that would improove readability alot!

If you need help with any UI design, i could try and help, depending if i have the time, as i'm a web and graphic designer :)

Ronaldo 2010-04-07 23:57

Re: My Facebook client for the n900
 
when will this hit repos?

cheers

w00t 2010-04-08 00:01

Re: My Facebook client for the n900
 
Quote:

Originally Posted by m165 (Post 600284)
Couple of things on initial thoughts:

Thanks for the feedback!

Quote:

Originally Posted by m165 (Post 600284)
Some people have blank statuses, when i click them, it turns out its an app or something posting it as their status, is there a way you can filter them, so it doesn't return a blank status?

This is marked as a known issue. It will be addressed in a future update - I don't know when yet. I want to fix a few bugs before I start adding more features.

Quote:

Originally Posted by m165 (Post 600284)
Secondly, maybe a way to change the font size? Witter uses the volume buttons to increase or decrease the font size, nice feature

This is probably possible. Added to my list; i'll have to look into it. :)

Quote:

Originally Posted by m165 (Post 600284)
One more, can you add alittle more spacing between the statuses? I think that would improove readability alot!

I'm hesitant to do this. The Fremantle UI guidelines specify a row size of 70px, so I want to try to stay 'true' to them. There's also the problem that if a row *isn't* 70px tall, Qt makes it perform rather badly at the moment.[1]

I'll think about it though :)

Quote:

Originally Posted by m165 (Post 600284)
If you need help with any UI design, i could try and help, depending if i have the time, as i'm a web and graphic designer :)

Generally: I don't have problems designing things, I do it as I go and refine as I use it and get feedback on it too. You're more than welcome to help out (as you have done here!) - please keep going, it's helpful!

w00t 2010-04-08 00:02

Re: My Facebook client for the n900
 
Quote:

Originally Posted by Ronaldo (Post 600290)
when will this hit repos?

cheers

Definitely not for the next 24 hours.

After that, I really don't know. It depends how much time I have to spend on FaceBrick total, and how much other stuff has to be done. At the moment I'm staying up a bit late to fix a few bugs anyway.

I will *try* to get it in the repos as soon as I can, because I know it's inconvenient to have to go elsewhere and fiddle around to install it.


All times are GMT. The time now is 09:43.

vBulletin® Version 3.8.8