Month: June 2015

Month: June 2015

Simple php script for facebook keyword search
June 29, 2015 Uncategorized Dinesh Belkare

Create a facebook application by visiting developers.facebook.com. You will get “App ID” and “App Secret” keys. Now download facebooksearch.zip and extract it. Open src/config.php file and put credentials obtained in step1. Also enter callback URL.Callback URL is where your application will redirect after successful login. Now visit your index.php and search for keywords.

Read More
Page updated but Facebook showing old page contents
June 22, 2015 Uncategorized Dinesh Belkare

Facebook not fetching new page contents You might be using facebook for your website promotion. Sometimes you might have experienced problem while re-fetching your updated page. Facebook shows old image or old page contents. This is it’s normal behaviour.Facebook uses cache. When you post any URL for first time,it is cached in facebook. Later, when

Read More
Simple php script for twitter hash tag search
June 18, 2015 Uncategorized Dinesh Belkare

Twitter hash tag search is now being most widely used in many organizations. To integrate twitter hashtag search into your application follow the below steps. Create twitter application by visiting create new twitter app. Put your application name,description and website url in respective fields.Callback url is not necessary for our application. Select “Yes,I agree” at

Read More
ffmpeg add or embed text into image on iis or xampp server
June 18, 2015 Uncategorized Dinesh Belkare

Download video_processing.zip and dejavu-fonts-ttf.tar.bz2 and extract it.Note- copy both the files in your project directory. We are going to use php exec() function to execute commands related to image processing. C:\>ffmpeg -i inputimage.png -vf drawtext=”fontfile=ttf\DejaVuSerif.ttf: text=’Dinesh Belakare’:fontsize=70:fontcolor=red:x=700:y=925″ outputimage.png In the above code replace “ffmpeg” with absolute path (i.e C:\directory\ffmpeg).Also replace inputimage.png and outputimage.png with their

Read More
ffmpeg add or embed text into video on iis or xampp server
June 11, 2015 Uncategorized Dinesh Belkare

Download video_processing.zip and dejavu-fonts-ttf.tar.bz2 and extract it.Note- copy both the files in your project directory. We are going to use php exec() function to execute commands related to video processing. C:\>ffmpeg -i inputvideo.mp4 -vf drawtext=”fontfile=ttf\DejaVuSerif.ttf: text=’+919987688035′:fontsize=70:fontcolor=red:x=700:y=925:enable=’between(t,61.6,78)'” outputvideo.mp4 In the above code replace “ffmpeg” with absolute path (i.e C:\directory\ffmpeg).Also replace inputvideo.mp4 and outputvideo.mp4 with their absolute

Read More