On instagram when you click on a post from someone profile it opens from its position. Same with the photos app. It doesnt open full screen like a navigation link or a sheet.
How would I open an image from its tile position in the same way the photos app opens a photo when you click on it?
Related
I have a working Facebook messenger bot.
From the Messenger app, I would like my bot to trigger the "camera" action (to snap a new picture or video) for the user.
To clarify with a hypothetical context, I would create persistent menu action which mimics the behavior of clicking the "camera" button under the message text area.
I looked into the "Page Call To Action" operation of the Graph Api but could not find parameters that would produce the desired behavior.
Here is the solution to your problem.
In Facebook Messenger, you can open a webview and load a webpage. But remeber that good old HTML 5 provides us with a simple way of asking the user to use their camera when they are on mobile.
These steps below work today
You can use a url button to open a webview as such
"buttons":[
{
"type":"web_url",
"url":"https://url_to_your_webpage",
"title":"View Item",
"webview_height_ratio": "compact"
}
]
In your webpage, include this HTML5 element that allows user to take image via camera on mobile
<input type="file" accept="image/*" capture="camera" />
Submit the image to your servers, close the webview, and do any processing required. For example you can now send the image back to the user from your bot.
I'm pretty sure there is no way to do what you want, right now. Hopefully, in the future, the Messenger team will add more features like this to bots.
You can simply send a message to the user to click on the camera icon, click the picture and send it to the bot. You can then receive that image as the attachment -> read 'Message with image attachment' and reply to the user. This will be more of the native experience. In webview the user can deny permission to the camera (if asked for). Hope this helps!
Hi I have problem with view share and like button in my page. If i click like button on my page for example this picture http://www.debuton.com/obrazek.php?206 i have this window http://scr.hu/8qi/a8n7g and I doens't have picture miniature and this is view with my profile when i click the like button. Same here with share button they doesn't view picture miniature only link :/ please help me
I will be grateful
What is the code you are using? Make sure you have data-show-faces="true" so you can see the faces of users who have liked the page. If the user's privacy settings are strong, you won't seen an image no matter what settings you change.
I'm maintaining a Facebook iFrame application, and my client is worried about the transition to Timeline. Basically, they want their home page to have a big icon next to 'Photos' that takes the user to the page hosting the iFrame. The tricky thing is that users can "pledge" within the app, and they want the link icon to look different depending on whether or not the user has pledged within the app. Is there any way to do this?
Assuming the answer is no, is there a way to add a second icon for the iFrame app so that I can customize one to look different? Or would I need to set up another page hosting the same iFrame?
Thanks!
Go to Fan Page Timeline, click the arrow on the half box to the right of photos, likes etc (assuming you haven't changed the order of the apps), hover over the icon you want to change and click on the pencil icon that shows up in the top right corner. Then click "edit settings". Here you can change the tab image or give the tab a custom name.
alternatively you can enter the edit page settings, go to the apps section, edit the app, and you can change the icon from there.
in either case, you will need to be a page admin to complete the task.
Update on 4/12
Facebook just added the functionality for developers to set a default image. Here is the post in the Developer Blog.
I am integrating facebook login functionality in my iphone application. When I click on "Login with Facebook" button then facebook window opens which is shown below
As you see , "Facebook" is partially visible. Also I can not see any "Cancel" button on the screen. I can not figure out what is wrong with this. By the way I am using official facebook ios sdk from GitHub. My ios sdk is 4.3 & xcode 4. I want "Cancel" buuton on this scrren so that user can navigate back to application & also facebook Title on the view should be displayed correctly. Please guide me. Thanks.
Titanium SDK version: 1.7.0.RC1
iPhone SDK version: 4.2
I am developing a very simple iOS app in Appcelerator that fetches tweets from Twitter and displays them in a table. Each row/tweet got a button that, if clicked, will add the selected tweet to the database. I also want the user to be able to click the tweet itself too.
What is wrong with this code? It is not responding to clicks on the button. I also need the row to disappear when the button is clicked.
http://pastie.org/2038105
I got this problem solved using the solution found here.
http://developer.appcelerator.com/question/120723/button-on-row-is-not-registered-in-event-listener#209636