[Plugin] Small mod to Facebook plugin

Post your completed addons to share with the community

Post » Mon May 28, 2012 5:13 pm

Hi added these minor changes to the Facebook plugin and I wanted to share them with the community:
- one action: "Request friends info" it uses FQL to query the names and profile picture url of all the friends of the currently logged user and stores the info in an internal array.

- one trigger: "On Friends Info available" a trigger called when the above action finishes receiving the information.

- three expression:
1. Get Friend Name:Gets the name of a friend in the internal array populated by "Request friends info".

2. Get Friend Picture URL: Gets the URL of the profile picture of a friend in the internal array populated by "Request friends info". This URL is useful with other plugins that load images at runtime from an url.

3. Get Number of Friends: Gets the number of friends stored in the internal array populated by "Request friends info".

To download the modified plugin (FacebookMod) download FacebookMod.zip from http://sites.google.com/site/jptarqu/downloads. The zip has a sample project. Make sure you change the app id in the sample.juantar2012-05-28 17:17:00
B
26
S
7
G
3
Posts: 118
Reputation: 4,264

Post » Thu May 31, 2012 5:50 pm

I cannot currently use this since I don't use the Facebook Plugin. Yet, this sounds like a great contribution Juantar. (Downloaded just in-case) :]

Edit: I get an error on C2 startup pointing to C:/c2... - I'm assuming it has to do with us having different install paths.

Index2012-05-31 18:39:22
B
72
S
10
G
6
Posts: 104
Reputation: 7,550

Post » Sat Jun 02, 2012 9:24 pm

@index I fixed the plugin to prevent that error. It was an error in the edittime file.
B
26
S
7
G
3
Posts: 118
Reputation: 4,264

Post » Mon Dec 03, 2012 10:10 pm

Does it work with Direct Canvas?
B
14
S
2
G
1
Posts: 10
Reputation: 1,750

Post » Tue Dec 04, 2012 2:21 pm

@dusoft : probably not because it uses the same techniques as the official plugin.
B
26
S
7
G
3
Posts: 118
Reputation: 4,264

Post » Fri Apr 12, 2013 3:09 pm

can you share a capx?
Im not sure how to set all this up...
B
34
S
8
G
7
Posts: 498
Reputation: 7,753

Post » Wed Jul 24, 2013 11:55 am

HI:

Do Works this plugin in ios, android and other mobile platforms?

And with Cocoonjs?

Sorry by my english...

Thanks!
B
3
Posts: 3
Reputation: 606

Post » Sat Jul 27, 2013 11:24 am

@JonathanCastro : I don't know I have not test it wioth those. I no longer work in this plugin. I left it here in case another plugin developer wanted to get the source.
B
26
S
7
G
3
Posts: 118
Reputation: 4,264


Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest