[Facebook]

Post your completed addons to share with the community

Post » Mon Aug 18, 2014 11:22 am

Sorry for a potentially silly question. I'm having a bit of trouble posting to the user's Facebook wall... I don't think I have set it up properly, as on clicking the share button I get the following error regarding the userID:

This dialog has been passed a bad parameter.

API Error Code: 100
API Error Description: Invalid parameter
Error Message: null does not resolve to a valid user ID


Here is the set up at the moment:

Image

(Placeholder URL and image, just for a test post.)

As the To/From field said "If unspecified, it defaults to the current user", I thought that leaving it null would be okay but it seems not. Should the To/From field include some sort of userID request? I tried to include something like Facebook.UserID, however C2 rejected it on the grounds that this field needed a string, not an integer.

Please can you advise me on this?

Awful test version here (non-styled; functionality pass only. Eventually hopefully we will be able to upload the mugshot image the user has created): http://www.angelserver.in/html5/mugshot_generator
B
7
S
1
Posts: 61
Reputation: 588

Post » Mon Aug 18, 2014 11:48 am

@angellondon the plugin you are using is outdated. It works for apps that were made prior to 2014. I'm guessing from the error you received that your app is more recent. I have a plugin available at lancelocke.yourhosting.com for download.
www.h1k3.tech

We are here for you!
B
87
S
22
G
16
Posts: 715
Reputation: 16,785

Post » Mon Aug 18, 2014 11:52 am

@Cipriux I'm not sure, maybe pirate lingo would be good for a pirate game. Upside down might be a good fit for a puzzle. Another quirky fit for upside down might be in a comment box. Set the comment box to 180 degrees for an angle. It makes for a twist to the comment box. :) either way there are mostly just other named languages with just a few quirky ones like the ones you mentioned and there is even a trolling language.
www.h1k3.tech

We are here for you!
B
87
S
22
G
16
Posts: 715
Reputation: 16,785

Post » Mon Aug 18, 2014 2:24 pm

Ah, thanks @lanceal, my mistake. I had grabbed 'Facebook Complete' off the Facebook group this morning and didn't realise it was outdated. I've now grabbed Facebook 2.0 Free version to test.

I set up a new capx just to test out the functionality, however I'm receiving the following error on trying to export the project:

Javascript error!
ReferenceError: assignment to undeclared variable inst_visible
http://localhost:50000/Facebook3_plugin.js, line 73 (col 20)

This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console


So, I'm reporting it to you!

Hope it isn't just something silly in the way I've set it up. Event sheet below just in case:

Image
B
7
S
1
Posts: 61
Reputation: 588

Post » Mon Aug 18, 2014 2:33 pm

No in fact that's an error I had fixed a while back with an update, but I never updated the free version. I'll make sure that is done this afternoon. :) give me a couple of hours.
www.h1k3.tech

We are here for you!
B
87
S
22
G
16
Posts: 715
Reputation: 16,785

Post » Mon Aug 18, 2014 2:33 pm

Ah, brilliant! Thank you so much :D
B
7
S
1
Posts: 61
Reputation: 588

Post » Mon Aug 18, 2014 3:32 pm

Free version has been updated to 0.3.1
-Full use of social boxes
-Generate and use list of non-app friends
-Send basic app request
-Access user information
-Login/re-ask for denied permission
-Logout
-Delete app(remove all permissions)
-Check for given permission

Much more available in the full version. Both are available here:
http://lancelocke.yourhosting.com/?shopp_page=shop

@angellondon It's now functional :)
www.h1k3.tech

We are here for you!
B
87
S
22
G
16
Posts: 715
Reputation: 16,785

Post » Thu Aug 21, 2014 10:22 am

Hello,

can anyone please help me with the grap api? How can I change tittle, post a image with a share link just as it was done with the oficial facebook plugin?

I attach a photo of what I currently do with the oficial facebook plugin.
Thanks and sorry for my poor programming level!

Sergio
You do not have the required permissions to view the files attached to this post.
B
8
S
2
Posts: 42
Reputation: 649

Post » Thu Aug 21, 2014 11:19 am

@jugger87

I do have a share link action in the full version. Are you using that version and can't find it?
www.h1k3.tech

We are here for you!
B
87
S
22
G
16
Posts: 715
Reputation: 16,785

Post » Sat Aug 23, 2014 1:38 am

Current Version: 0.3.4
New Action

Change to comment box - Will change the selected Facebook Instance to a comment box with the selected url.

This was a requested addition, so I pushed this update which includes a switch for CocoonJS. Please do not use the CocoonJS switch yet. It is not functional.

Registered users use the link in your email receipt.

Purchase your copy today:
http://lancelocke.yourhosting.com/?shop ... l-purchase

@pirx, this update is for you :) Let me know how it works for you.
www.h1k3.tech

We are here for you!
B
87
S
22
G
16
Posts: 715
Reputation: 16,785

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests