Sep 25, 2016 Replies: 8 Hi, After that Erel has added the iFacebook Library this is a small addon to be able to share photo, video, link with native Facebook iOS app. Those are just the basics. I can be extended a lot. Step 1. Download the iFacebook.xml attached and replace it with the one in the Libraries folder of B4i. Download the FacebookShare.bas Module and add it to your project. Step 2. Follow the FireBase Sign in tutorial carefully https://www.b4x.com/android/forum/t...uthenticate-your-users-google-facebook.68625/ Thats it. Now you are able to share photo,video,links with native facebook app. Use the ShareLink, SharePhoto or ShareVideo methods to share your content. UPDATED: ADDED LIKE BUTTON Control. Use CreateLikeButton function. It is returning a View. PS: to share a link the URL string must be the full url (start with "http://") regards Narek Attachments iFacebook.xml iFacebook.xml 1.8 KB · Views: 20 FacebookShare.bas FacebookShare.bas 3.2 KB · Views: 20 Last edited: Sep 26, 2016 Click to expand...
Hi, After that Erel has added the iFacebook Library this is a small addon to be able to share photo, video, link with native Facebook iOS app. Those are just the basics. I can be extended a lot. Step 1. Download the iFacebook.xml attached and replace it with the one in the Libraries folder of B4i. Download the FacebookShare.bas Module and add it to your project. Step 2. Follow the FireBase Sign in tutorial carefully https://www.b4x.com/android/forum/t...uthenticate-your-users-google-facebook.68625/ Thats it. Now you are able to share photo,video,links with native facebook app. Use the ShareLink, SharePhoto or ShareVideo methods to share your content. UPDATED: ADDED LIKE BUTTON Control. Use CreateLikeButton function. It is returning a View. PS: to share a link the URL string must be the full url (start with "http://") regards Narek
tufanv Expert Licensed User Longtime User Sep 26, 2016 #2 TY Very much ! this is very important. Is it possible to make like a page of our games for example ?
narek adonts Well-Known Member Licensed User Longtime User Sep 26, 2016 #3 It can be extended to support all the features of Facebook iOS sdk. I think I will change the name to Facebook SDK so it can be used not only for sharing.
It can be extended to support all the features of Facebook iOS sdk. I think I will change the name to Facebook SDK so it can be used not only for sharing.
tufanv Expert Licensed User Longtime User Sep 26, 2016 #4 narek adonts said: It can be extended to support all the features of Facebook iOS sdk. I think I will change the name to Facebook SDK so it can be used not only for sharing. Click to expand... THats one of the ost important sdk for b4i. I hope you can extend it for many features ! Thanks again
narek adonts said: It can be extended to support all the features of Facebook iOS sdk. I think I will change the name to Facebook SDK so it can be used not only for sharing. Click to expand... THats one of the ost important sdk for b4i. I hope you can extend it for many features ! Thanks again
narek adonts Well-Known Member Licensed User Longtime User Sep 26, 2016 #5 Btw if Compile to Library function was available it would be much nicer to create a wrapper. fOr exemple I would like to create a seperate class for each type of share conent, like buttons, types,... @Erel ))
Btw if Compile to Library function was available it would be much nicer to create a wrapper. fOr exemple I would like to create a seperate class for each type of share conent, like buttons, types,... @Erel ))
narek adonts Well-Known Member Licensed User Longtime User Sep 26, 2016 #6 tufanv said: TY Very much ! this is very important. Is it possible to make like a page of our games for example ? Click to expand... Added CreateLikeButton. See 1st post. Narek
tufanv said: TY Very much ! this is very important. Is it possible to make like a page of our games for example ? Click to expand... Added CreateLikeButton. See 1st post. Narek
tufanv Expert Licensed User Longtime User Sep 26, 2016 #7 Thank you Narek ! Will implement it ASAP to all my apps !
tufanv Expert Licensed User Longtime User Sep 27, 2016 #8 narek adonts said: Added CreateLikeButton. See 1st post. Narek Click to expand... If I have one more chance to ask for something about facebook sdk and if you are able to do , To use facebook ads efficiently ( to advertsie your app on facebook , not publish facebook ads ) with cpi campaigns , tracking conversions , facebook requires sdk to be implemented into app. I think it tracks for conversions with that and with that you can use full features of facebookd advertising. If you have time and if it is not a long work , ıt would be great !
narek adonts said: Added CreateLikeButton. See 1st post. Narek Click to expand... If I have one more chance to ask for something about facebook sdk and if you are able to do , To use facebook ads efficiently ( to advertsie your app on facebook , not publish facebook ads ) with cpi campaigns , tracking conversions , facebook requires sdk to be implemented into app. I think it tracks for conversions with that and with that you can use full features of facebookd advertising. If you have time and if it is not a long work , ıt would be great !