Jump to content

Archived

This topic is now archived and is closed to further replies.

donny84

better twitter share?

Recommended Posts

I was wondering if anyone knew a way of making or editing the current share to twitter so that it included the product title and maybe a custom bit of text or hashtag...

 

At the moment the share to twitter just fills in a link

 

I have edited /includes/modules/social_bookmarks/sb_twitter.php

 

 

return '<a href="http://twitter.com/home?status=' . urlencode(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'], 'NONSSL', false)) . '%20%23hello' . '" target="_blank"><img src="' . DIR_WS_IMAGES . 'social_bookmarks/' . $this->icon . '" border="0" title="' . tep_output_string_protected($this->public_title) . '" alt="' . tep_output_string_protected($this->public_title) . '" /></a>';
}

 

It now makes a tweet like this

 

 

Now I want it to auto fill in the product name/title... but im a noob and dont know what to do LOL...

 

Help please?!

Share this post


Link to post
Share on other sites

It's called Twitter Cards.

No offence but I could hire a someone to write the script needed for £10 its only a tiny amount of editing and someone who knows php can do it eyes closed in a few seconds, if you think I am going to pay $299.99 then you are mistaken...

Share this post


Link to post
Share on other sites

Hi Donovan

 

Luv it too especially when Burt is one of the best

:lol:

 

So go for it ask him hehehe doubt very much if it will be a 3 x figure sum

 

Regards

Joli


To improve is to change; to be perfect is to change often.

 

Share this post


Link to post
Share on other sites

Why not hire someone for a tenner and get it written. Easy :)

 

For now, my testing is going well, and I expect to have something available for 2.3.4 / 2.4


Help shape the future of Phoenix; join the Phoenix Club

Share this post


Link to post
Share on other sites

But you have dangled something awesome in front of me how can I now just use bog standard twitter share... LOL

 

Why not hire someone for a tenner and get it written. Easy :)

 

For now, my testing is going well, and I expect to have something available for 2.3.4 / 2.4

Share this post


Link to post
Share on other sites

×