Topic-icon Pos, send, like image

Active Subscriptions:

None
13 years 4 months ago #30393 by ratlek
Pos, send, like image was created by ratlek
Is there a way I can set an image for like, send actions? I see red x for image in most cases and some random image in other cases when I try to hit send. Also is there a way to insert post action on certain pages? For example My site offers free practice tests. I am thinking of how to push an even of one successfully passing a test as a post where the user would approve or disapprove (depending on how well he did :P )
The topic has been locked.
Support Specialist
13 years 4 months ago #30397 by alzander
Replied by alzander on topic Pos, send, like image
Ratna,
There's a few ways to set the image for a page when the Like button is clicked:
* If there's a Open Graph plugin available for the extension that is rendering the page, like Joomla Content, K2 Content, EasyBlog, etc, install and enable that plugin. It should automatically select an image on the page for the Like button
* Add the {SCOpenGraph image=http://yoursite.com/link-to-image.jpg} on the page to set the image for that page. You can use PHP code to dynamically set the image as well.
* In the Open Graph -> Settings area, you can set a default image (like a logo) to be used site-wide if an image isn't specifically set on a specific page.

As for a post action, there's a few ways to do that. I'm assuming you are (or have a) developer? Do you want to have a popup appear with a predefined message that the user can edit and then hit "Post" whenever the user submits a quiz or something? Or, do you want the post to automatically happen, like "John took a quiz" with a link to the quiz?

Let me know, and we can help you understand how to do it with JFBConnect.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 4 months ago #30401 by ratlek
Replied by ratlek on topic Pos, send, like image
I would like a default image. On admin>Open graph I see configuration (not settings). And I just see a blank box under configurations as shown in he attached image. Shall I just enter the image attribute there? Should I do anything from FB app to activate this?

Regarding post, I want automatic post for now. Should this be done within the component .php file? For example I want the post to happen every time the user hits Save|Exit on this page: www.exambag.com
The topic has been locked.
Support Specialist
13 years 4 months ago #30410 by alzander
Replied by alzander on topic Pos, send, like image
In the configuration area of Open Graph in the big blank box, simply add:
image=http://yoursite.com/link-to-your-logo.jpg
There are more directions on the page as well that should clarify things if you need it. Once added, you don't need to do anything on FB to activate it, but it may take a few days for Facebook to 'see' the new image. You can use their URL Debug Tool to test a page to make sure it works though:
developers.facebook.com/tools/debug

Let me look into the post thing a little bit and get an answer back to you soon.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 4 months ago #30417 by ratlek
Replied by ratlek on topic Pos, send, like image
Ok, I thought so. I reverted to image=http://www.exambag.com/images/FBlogo.png which I initially thought was not working. I will give it a day or two to see if it captures any images for the default {JFBCLike} and/or {JFBCsend} tags I am using.

Regarding the post, I may not need it on the button. If I could post when a user loads a page, that would be great.

Lets say a user loads this page: www.exambag.com/exambag-sat-math.html?quiz_id=11
Can we post it to facebook saying "<user_name> took <test> on Exambag" ?
The topic has been locked.